Closed arturgrigor closed 4 years ago
@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?
@PGLongo
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.
Thank you @arturgrigor.