-
Notifications
You must be signed in to change notification settings - Fork 59
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
Add support for cocoapods #58
Comments
I am not familiar with cocoapods -- is that something you would be interested in contributing? |
Already had a jab at it following this blogpost on a fork I made, but had no luck when installing from cocoapods:
|
Here was the error:
|
That looks like it wasn't checked out with git submodules. Take a look at this: |
I ended up flattening the library, and re-running the build
I've also attached the full log: |
Following this, might work now |
no luck, same errors |
From looking at the build log it looks like cocoapods is trying to "build" all of the files in the repository -- pngs from the docs, .py files from the python integration, etc. In fact the error seems to be it picking up multiple copies of the logo (e.g. from the docs):
The build process is fairly complex. If cocoapods can use the swiftpm build or the CMake build you will be much better off. Otherwise you will need to figure out how to get it to compile each of the targets along the same lines as the swiftpm build. Is there a reason you can't just use the swiftpm build? |
I want to create a React Native wrapper for this library, and React Native only works with cocoapods. There's this issue to add support for SPM but they have their own challenges. |
I'm also hoping to see this be available for React Native apps -- @ArshanKhanifar have you made any progress since this last post? It sounds like getting cocoapods to work with SPM won't happen anytime soon, which leaves getting the CMake installation to work with cocoapods 😟. Anything you've learned would be appreciated -- my initial research made this sound pretty tricky. |
It looks like cocoa pods are on maintenance only: Closing this issue, though if you want to contribute a cocoa pods build file please make a PR for it! |
I want to use this library in my react native project, would be awesome if it was also packaged as a cocoapods package.
The text was updated successfully, but these errors were encountered: