'Pods-MyApp' target has transitive dependencies that include statically linked binaries:

I got this error when running the below code in React Native

npx pod-install or cd ios && pod install

To fix this, I went into my project podfile and looked for this

 use_frameworks!

And changed it to

 use_frameworks = true

Then I ran pod install again and it worked fine

Like and share and comment if this worked for you.