Environment
- freerasp version: 7.5.0
- Xcode: 26.3 (Build 17C529)
- Swift: 6.2.4 (swiftlang-6.2.4.1.4)
- iOS SDK: 26.2
- Flutter: 3.41.4
- Platform: macOS (Apple Silicon)
Problem
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.
Environment
Problem
The vendored
TalsecRuntime.xcframeworkshipped with freerasp 7.5.0 was built with Swift 6.1.2 (Xcode 16). When building on Xcode 26 (Swift 6.2), the.swiftinterfacefile fails to compile:This surfaces as:
No type named 'RaspExecutionState' in module 'TalsecRuntime'Type 'SecurityThreat' has no member 'timeSpoofing'Root cause
Swift 6.2 cannot deserialize
.swiftinterfacefiles emitted by Swift 6.1. This is a known Apple toolchain behavior change (swiftlang/swift#84379).Steps to reproduce
freerasp: ^7.5.0flutter build iosorflutter runtargeting a physical deviceExpected behavior
Build succeeds on Xcode 26.
Requested fix
Rebuild
TalsecRuntime.xcframeworkusing 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.