-
Notifications
You must be signed in to change notification settings - Fork 58
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
Xcode 13, DocC #86
Xcode 13, DocC #86
Conversation
vtourraine
commented
Aug 4, 2021
•
edited
Loading
edited
- Fix compatibility with latest SPM build process in Xcode 13 (i.e. use App Extension compatible APIs only)
- Add DocC resources
Fix xcode 13.0b3 build problems
ProblemI noticed build errors on Xcode 12.5 when building my project for
It looks like SwiftUI is not available:
However, AcknowListSwiftUIView is guarded by Steps to reproduce:
Workaround:Require iOS 13 for AcknowList:
I assume this is not a viable solution as the most users stick with older iOS versions. |
Oh... you’re right. I hadn’t tested “Archive” since adding the SwiftUI classes. And I don’t understand either why the There can only be one If we can’t find a solution, I think I would set the platform requirement at iOS 13 for SPM, and explain in the README that you can support earlier versions by using CocoaPods or importing the library manually. But that’s not great. Any Swift compiler magician out there who could help us with this? |
I wonder why wrapping the SwiftUI code in |
Finally resigned myself to the solution of requiring iOS 13, just to make sure the SwiftUI code is supported. Not ideal, but it looks like the only way forward (manual integration is always possible for older versions). |