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 Compiler Errors #638

Open
patterueldev opened this issue Apr 1, 2021 · 2 comments
Open

SPM Compiler Errors #638

patterueldev opened this issue Apr 1, 2021 · 2 comments

Comments

@patterueldev
Copy link

I am trying to migrate to Swift Package Manager because I'm a CocoaPod guy, but I'm getting a lot of compiler errors when I'm using SPM for IBAnimatable.

The following screenshot is just a few of the issues I'm getting when I compile the project. It still builds, though. But it is annoying to see these errors popping out during build time.

I am not sure if I am missing a setting in my project. The way I understand the issues, it somehow tries to build for other OS (e.g., tvOS). My project supports only iOS devices.

Hope anyone can help me with this. Thank you!

Screen Shot 2021-04-01 at 6 24 13 PM

@phimage
Copy link
Member

phimage commented May 19, 2021

a little late
maybe you do not set platform to iOS in swift pm file

@patterueldev
Copy link
Author

a little late maybe you do not set platform to iOS in swift pm file

I'm a bit late too, but I'm setting up IBAnimatable directly to the project using File > Swift Pacakges > Add Package Dependency, so I'm not sure where to setup the Swift PM file as you're saying.

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

2 participants