You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TalsecRuntime.xcframework incompatible with Xcode 26 / Swift 6.2 #198
The vendored TalsecRuntime.xcframework shipped with freerasp 7.5.0 was built with Swift 6.1.2 (Xcode 16). When building on Xcode 26 (Swift 6.2), the .swiftinterface file fails to compile:
error: no such module 'TalsecRuntime.Private'
error: failed to build module 'TalsecRuntime'; this SDK is not supported by the compiler
(the SDK is built with 'Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)',
while this compiler is 'Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)').
Please select a toolchain which matches the SDK.
This surfaces as:
No type named 'RaspExecutionState' in module 'TalsecRuntime'
Type 'SecurityThreat' has no member 'timeSpoofing'
Root cause
Swift 6.2 cannot deserialize .swiftinterface files emitted by Swift 6.1. This is a known Apple toolchain behavior change (swiftlang/swift#84379).
Steps to reproduce
Install Xcode 26 (any beta or release)
Create a Flutter project with freerasp: ^7.5.0
Run flutter build ios or flutter run targeting a physical device
Expected behavior
Build succeeds on Xcode 26.
Requested fix
Rebuild TalsecRuntime.xcframework using Xcode 26 / Swift 6.2 toolchain and publish an updated release.
Workaround
Pin to Xcode 16.x via sudo xcode-select --switch /Applications/Xcode-16.x.app.
Hi @samumzizi, just following up on my colleague's question above — could you please provide the requested details? Without further information we will have to close this issue.
Activity
tompsota commentedon Mar 24, 2026
Hello!
I use XCode 26 with Swift 6.2 and did not encounter such issue.
Can you write us what is the actual error you are seeing?
Is it:
a)
or b)
If it is a), what was the previous version of freeRASP you are upgrading from?
martinzigrai commentedon Jun 16, 2026
Hi @samumzizi, just following up on my colleague's question above — could you please provide the requested details? Without further information we will have to close this issue.
Best regards,
Martin from Talsec team