Skip to content
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 Not Working #80

Closed
robin-on-git opened this issue Feb 11, 2022 · 7 comments
Closed

SPM Support Not Working #80

robin-on-git opened this issue Feb 11, 2022 · 7 comments

Comments

@robin-on-git
Copy link

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

@robin-on-git
Copy link
Author

I solved my problem by using this PR instead of the official master branch when adding the SPM package #59

@chili-ios
Copy link
Contributor

Hi @cydie ,
Could you try now, please? I have published a new release.

@BigDada1
Copy link

Still won't working with v0.2.1 … 😞

@BigDada1
Copy link

Hi @chili-ios ,
other libraries fixed the warning by explicitly excluding the resource file. Could You try it, please?

@SerhanAksut
Copy link
Contributor

SerhanAksut commented Jun 24, 2022

Could you please try it with this PR #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 #81 @cydie @BigDada1

@chili-ios
Copy link
Contributor

PR #81 is merged. Guys, please check if everything is working properly now.

@BigDada1
Copy link

BigDada1 commented Nov 7, 2022

Works like a charme 🙌🏻 … sry for the late response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants