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

Orion doesn't build correctly on Xcode 12.5 #5

Closed
ja1dan opened this issue Mar 8, 2021 · 2 comments
Closed

Orion doesn't build correctly on Xcode 12.5 #5

ja1dan opened this issue Mar 8, 2021 · 2 comments

Comments

@ja1dan
Copy link
Collaborator

ja1dan commented Mar 8, 2021

In the IDE, next to the first line with "import Orion" on it, this shows:
Failed to build module 'Orion' from its module interface; the compiler that produced it, 'Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.4 (swiftlang-1205.0.24.6 clang-1205.0.19.54)'
Upon building with make clean all messages=yes, I get this: Orion does not support this version of Swift yet. Please check https://github.com/theos/Orion for progress updates. #error("""

@kabiroberai
Copy link
Member

afaict there's no breaking changes in Swift 5.4 that should affect Orion. At this point I'm just waiting for Apple to release swift-syntax for Swift 5.4: see https://github.com/apple/swift-syntax#usage.

@kabiroberai
Copy link
Member

Fixed with e357ada. Turns out due to a compiler bug Orion.framework crashes the 5.4 compiler but that's irrelevant to users of the framework since the only thing that clients need to build is the preprocessor which now works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants