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

Cannot build for macOS using CocoaPods #159

Open
edwinveger opened this issue Feb 11, 2019 · 0 comments
Open

Cannot build for macOS using CocoaPods #159

edwinveger opened this issue Feb 11, 2019 · 0 comments

Comments

@edwinveger
Copy link

When installing SwiftOCR through CocoaPods, it depends on the CocoaPods version of GPUImage (instead of the repository version). For macOS, this does not compile since there are several files missing in GPUImage that SwiftOCR relies upon. These files are explicitly excluded from the OSX pod.

Step to reproduce:

  1. create a new Xcode project with macOS CLI target.
  2. Install `pod 'SwiftOCR'.
  3. Try to build.

I have tried to work around this by manually building the frameworks directly from the repository (not through), but got some obscure errors at runtime when importing them 😕 so I had to resort to posting an issue here. I suspect this might be fixed by pinning to a specific revision of the GPUImage pod dependency, but I haven't figured out which exactly.

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

1 participant