镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

TalsecRuntime.xcframework incompatible with Xcode 26 / Swift 6.2 #198

Open

Description

@samumzizi

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

  1. Install Xcode 26 (any beta or release)
  2. Create a Flutter project with freerasp: ^7.5.0
  3. 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.

Activity

  1. tompsota commented on Mar 24, 2026

    @tompsota
    Member

    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)

    No type named 'RaspExecutionState' in module 'TalsecRuntime'
    Type 'SecurityThreat' has no member 'timeSpoofing'
    

    or b)

    error: failed to build module 'TalsecRuntime'; this SDK is not supported by the compiler...
    

    If it is a), what was the previous version of freeRASP you are upgrading from?

  2. martinzigrai commented on Jun 16, 2026

    @martinzigrai
    Contributor

    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

  3. added
    staleThis issue has been not active for long period of time
    on Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleThis issue has been not active for long period of time

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions