-
Notifications
You must be signed in to change notification settings - Fork 20
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
Pod install error: target has transitive dependencies #46
Comments
I followed the installation steps to the letter and I am getting the same exact error. Can anyone from the Amplitude team provide some guidance? |
Same here. I would really appreciate some input from the Amplitude team. |
We have made changes that removed the requirement to make any changes to your Podfile. Try redownloading the @amplitude/react-native@latest (v2.0.9) and removing both use_modular_headers! And use_frameworks!. After that I expect the issues should be non existent. |
@kelsonpw hey! thanks for the answer. I did everything you said and now I'm getting this error: |
@payucads this happened me while testing the fix. The cause is related to pod cache. Try running one or a combination of the below:
If neither of those above worked (they worked for me in a separate project) If this still doesn't resolve worst case try deleting your Pod folder and your Podfile.lock and running pod install again. The goal is to install v2.0.9 which has Amplitude now has v8.2.0 as a sub dependency rather than an older version (the fix actually came from the Amplitude pod so having 8.2.0 is important). Let me know if you still can't get this error to resolve. |
Really appreciate the support @kelsonpw. I also needed to reset the pod cache, but afterwards everything worked like a charm. Thanks! |
@rorygarand not a problem. Glad to hear things are working properly. Please feel free to file an issue if you run into any problems/concerns/questions. Cheers! |
Hi @kelsonpw how did you change the library to doesn't need use_frameworks anymore? I'm trying to do this in another library. |
Deleting both the pod folder and Podfile.lock helped me over this issue. |
I Added use_modular_headers! and use_frameworks! to the top of my Podfile.
After that I did "pod install"
But It gives me an error
: The 'Pods-App' target has transitive dependencies that include statically linked binaries: (FirebasePerformance)
how can i solve it?
The text was updated successfully, but these errors were encountered: