CHIPageControl
CHIPageControl copied to clipboard
SPM Support Not Working
The package has been updated recently with SPM support (#79 and #78), but I get errors with it.
I am on Xcode 13.0, using the built in Swift Package Manager, and specify the master branch in rules when adding the package.
When I import the module in my code, I receive the error
"No such module 'CHIPageControl'"
Additionally, I receive a warning which might be related
found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target /Users/******/Library/Developer/Xcode/DerivedData/*****-aheljstdlofofhcbswicoezhhaqd/SourcePackages/checkouts/CHIPageControl/CHIPageControl/Info.plist
I solved my problem by using this PR instead of the official master branch when adding the SPM package https://github.com/ChiliLabs/CHIPageControl/pull/59
Hi @Cydie , Could you try now, please? I have published a new release.
Still won't working with v0.2.1 … 😞
Hi @chili-ios , other libraries fixed the warning by explicitly excluding the resource file. Could You try it, please?
Could you please try it with this PR https://github.com/ChiliLabs/CHIPageControl/pull/81
Because it's working as expected for me and I'm using Xcode13.1
I've also fixed this warning 👇 that you mentioned.
found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target /Users/******/Library/Developer/Xcode/DerivedData/*****-aheljstdlofofhcbswicoezhhaqd/SourcePackages/checkouts/CHIPageControl/CHIPageControl/Info.plist
Also, this is a warning, not an error. It's resolved now with the PR https://github.com/ChiliLabs/CHIPageControl/pull/81 @Cydie @BigDada1
PR #81 is merged. Guys, please check if everything is working properly now.
Works like a charme 🙌🏻 … sry for the late response