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

Support installation via Xcode's built-in SPM #38

Closed
ainame opened this issue Oct 4, 2019 · 7 comments
Closed

Support installation via Xcode's built-in SPM #38

ainame opened this issue Oct 4, 2019 · 7 comments

Comments

@ainame
Copy link
Owner

ainame commented Oct 4, 2019

No description provided.

@s4cha
Copy link

s4cha commented Dec 23, 2019

That would be very cool :) At the moment we get
Could not build Objective-C module 'CWebP' and webp/encode.h' file not found error messages.

@ainame
Copy link
Owner Author

ainame commented Dec 23, 2019

Thank you for giving it a try. I'll find a time to do that but any contributions for that is always welcomed.

@userlerueda
Copy link

Having the same error here.

@trevor-e
Copy link

Just gave this a try for an iOS app and get the following error:

building for iOS Simulator, but linking in dylib built for macOS, file '/usr/local/Cellar/webp/1.1.0/lib/libwebp.dylib' for architecture x86_64

which I think is because you are providing the dependency as a systemLibrary provided by .brew().

@s4cha
Copy link

s4cha commented Jun 11, 2021

Personally, I still get 'webp/encode.h' file not found & Could not build Objective-C module CWebP.
SPM support would be really cool. In our iOS production app, we migrated all the previous Carthage-supported libraries (~20) to SPM and WebP is sadly the last one requiring us to keep Carthage. Let me know if I can help :)

@s4cha
Copy link

s4cha commented Jun 10, 2022

@ainame any news on this front ?

@jnordberg
Copy link

I intended to take a stab at fixing this but annoyingly the issue goes away for me when using a locally checked out version vs a git reference so I'm suspecting this is a bug in Xcode's SPM we just have to wait for Apple to resolve

@ainame ainame closed this as completed Jul 16, 2024
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

5 participants