-
Notifications
You must be signed in to change notification settings - Fork 494
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
SPM support #277
SPM support #277
Conversation
…UD.podspec` files in Xcode.
…_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99." warning.
…alone so we don't end up with SPM redeclaring it.
SPM support
# Conflicts: # PKHUD.podspec
Thank you @arturgrigor. |
@arturgrigor I've this error: I'm doing something wrong? |
@PGLongo I'm not sure, but you can check and run this small demo with Xcode 12 and everything should work just fine. |
Please can you try to install PKHUD with SPM? |
I did that by running the following commands: mkdir pkhud-spm-test
cd pkhud-spm-test
swift package init
vi Package.swift; here I added a ".package(url: "https://github.com/pkluz/PKHUD.git", .upToNextMinor(from: "5.4.0"))," to the dependencies section, and listed "PKHUD" in the "pkhud-spm-test" target's dependencies
swift package update
swift package generate-xcodeproj And everything worked just fine. Note: You should make sure that Xcode 12 is selected for the Command Line Tools. |
@PGLongo I got that same problem earlier on a build machine because they are still using Xcode 11 and this library requires Xcode 12 due to the images that come with it and bundling resources into the library is only available in Xcode 12. |
No description provided.