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

Pod install error: target has transitive dependencies #46

Closed
cnhsttyle opened this issue Mar 16, 2021 · 9 comments
Closed

Pod install error: target has transitive dependencies #46

cnhsttyle opened this issue Mar 16, 2021 · 9 comments

Comments

@cnhsttyle
Copy link

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?
스크린샷 2021-03-16 오후 3 21 17

@rorygarand
Copy link

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?

@payucads
Copy link

Same here. I would really appreciate some input from the Amplitude team.

@kelsonpw
Copy link
Contributor

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.

@payucads
Copy link

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:
Screenshot 2021-03-19 at 15 51 44

@kelsonpw
Copy link
Contributor

kelsonpw commented Mar 19, 2021

@payucads this happened me while testing the fix. The cause is related to pod cache. Try running one or a combination of the below:

pod repo update && pod install
pod install --repo update
pod update amplitude-react-native && pod update Amplitude
pod cache clean --all && pod install

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.

@rorygarand
Copy link

Really appreciate the support @kelsonpw.

I also needed to reset the pod cache, but afterwards everything worked like a charm.

Thanks!

@kelsonpw
Copy link
Contributor

kelsonpw commented Mar 21, 2021

@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!

@akinncar
Copy link

Hi @kelsonpw how did you change the library to doesn't need use_frameworks anymore? I'm trying to do this in another library.

@ejoo
Copy link

ejoo commented Dec 9, 2021

Deleting both the pod folder and Podfile.lock helped me over this issue.

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

6 participants