-
Notifications
You must be signed in to change notification settings - Fork 421
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
Package.swift must be updated if it's installed via Swift Package Manager #594
Comments
Thanks for the detailed report! It would definitely be a shame to drop support for that many versions. I'll see if I can find some other workaround. |
I have the same issue, since xcode and macos updated this morning |
I have the same issue |
I tried but it doesn't work for me |
Not work for me, any solution to use this library? |
Please try alternative solution |
This seems to be a known issue in Xcode 13:
From: https://developer.apple.com/documentation/xcode-release-notes/xcode-13-release-notes Hopefully it will be fixed before the official release, but for now I've created a |
See rechsteiner#594 for more info
A new version |
Hello, let me report an issue and a temporary workaround for it.
Environment
How to reproduce
What's the issue
Compile fails even though the codebase has
#if canImport(...)
barrier. It only happens when archiving as far as I see.(Temporary) Workaround
As explained here, I had to folk the repo and specify platform versions for all products. See also the below diff.
https://github.com/rechsteiner/Parchment/compare/master...pot8os:spm-archive?expand=1
All errors had gone when I switch to my branch above in the Swift PM settings.
Consideration
Although it's a valid workaround, it bumps the minimum supported version of the library so I don't think it's an acceptable solution. The best option is that Xcode addresses the issue but I'm not sure when it becomes real. I'd be happy if you could share some thoughts.
Thanks!
The text was updated successfully, but these errors were encountered: