-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
bugiosneeds triageThis issue hasn't been reviewed by maintainersThis issue hasn't been reviewed by maintainers
Description
I have searched and made sure there are no existing issues for the issue I am filing
- I have searched the existing issues
Description
I've simply created a new empty iOS module and tried to build it. When looking at the trace log I can see:
error: failed to build module 'TitaniumKit'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)', while this compiler is 'Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)'). Please select a toolchain which matches the SDK.
Other users had similar issues when building iOS modules too. Is there a way to get rid of it without searching a matching Xcode version?
https://stackoverflow.com/questions/58654714/module-compiled-with-swift-5-1-cannot-be-imported-by-the-swift-5-1-2-compiler/58656323#58656323 might be a solution (if not already done)
Expected Behavior
build a module without Xcode/swift error
Actual behavior
error building
Reproducible sample
Steps to reproduce
- create a new iOS swift module
- try to build it
- 12.5.0.GA
- Xcode Version 15.1 (15C65)
Platform
iOS
SDK version you are using
12.5.0
Alloy version you are using
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugiosneeds triageThis issue hasn't been reviewed by maintainersThis issue hasn't been reviewed by maintainers