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

Stop using Package@swift-version syntax to support SPM in Xcode 13. #16

Closed
wants to merge 1 commit into from

Conversation

DenTelezhkin
Copy link

It seems that Xcode 13 (as of Xcode 13 Release Candidate at least) stopped recognizing Package@swift-version syntax. When resolving dependencies, SPM uses Package.swift instead of Package@4.2.swift file, causing build failures in Xcode 13.

This PR replaces contents of Package.swift file with contents of Package@4.2.swift file, allowing SPM to succeed.

This probably drops some old Xcodes, but since swift-tools-version:4.2 is already three years old, and old Xcodes cannot submit to AppStore(at least on iOS), this seems safe to remove.

mxcl added a commit that referenced this pull request Sep 20, 2021
@mxcl mxcl mentioned this pull request Sep 20, 2021
mxcl added a commit that referenced this pull request Sep 20, 2021
mxcl added a commit that referenced this pull request Sep 20, 2021
mxcl added a commit that referenced this pull request Sep 20, 2021
mxcl added a commit that referenced this pull request Sep 20, 2021
mxcl added a commit that referenced this pull request Sep 20, 2021
@mxcl
Copy link
Member

mxcl commented Sep 20, 2021

I used #17 since it doesn’t kill 4.0/4.2 compat.

@mxcl mxcl closed this Sep 20, 2021
@DenTelezhkin
Copy link
Author

Sure, whatever you feel is best! Thank you very much.

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

Successfully merging this pull request may close these issues.

2 participants