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 install via Cocoapods when using Swift #11

Closed
TimothyChilvers opened this issue Oct 17, 2017 · 1 comment
Closed

Cannot install via Cocoapods when using Swift #11

TimothyChilvers opened this issue Oct 17, 2017 · 1 comment

Comments

@TimothyChilvers
Copy link

Cocoapods gives the error: target has transitive dependencies that include static binaries: (/Users/timothychilvers/Documents/Lovecrafts-iOS/Pods/Optimizely-iOS-SDK/Optimizely.framework) on pod install

@ladanazita
Copy link
Contributor

Hi @TimothyChilvers,

Sorry for the delay here.
This unfortunately is a common issue that doesn't have an out of the box solution due to Cocoapods and static libraries not working well together.

The only solution is to copy the integration code manually into your project, then depend on Optimizley directly. This eliminates the transitive dependency (from App -> Segment-Optimizely -> Optimizely to App -> Optimizely).

Moving forward, we recommend using Optimizely-X as it is the recommended product from Optimizely.

Best of luck, and please let me know if I can help out further!
Ladan

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