Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler-SDK Version Mismatch Error in Tokamak #555

Open
Designrpros opened this issue Dec 10, 2023 · 0 comments
Open

Compiler-SDK Version Mismatch Error in Tokamak #555

Designrpros opened this issue Dec 10, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Designrpros
Copy link

Designrpros commented Dec 10, 2023

Describe the bug
Encountered a build failure due to a mismatch between the Swift compiler version and the SDK version. The error message indicates that the SDK is built with Apple Swift version 5.9, while the compiler is SwiftWasm Swift version 5.8.

Error Message:
/Package.swift:1:8: error: failed to build module 'Foundation'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.9 (swiftlang-5.9.0.123.203 clang-1500.0.37.1)', while this compiler is 'SwiftWasm Swift version 5.8 (swiftlang-5.8.0)'). Please select a toolchain which matches the SDK.
import Foundation
^

To Reproduce:
Steps to reproduce the behavior:

Set up a Tokamak project on macOS.
Use SwiftWasm version 5.8 and Apple Swift SDK version 5.9.
Attempt to build the project.
Encounter the above-mentioned error.
Expected Behavior:
Expected the project to build without version compatibility issues between the Swift compiler and the SDK.

Additional Context:
This issue seems to stem from a version mismatch between the SwiftWasm compiler and the Apple Swift SDK. It's unclear if this is an issue with the Tokamak setup or a broader compatibility issue with SwiftWasm and the latest Swift SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants