React Native – pod install issue “cannot load such file…….node_modules/react-native/scripts/react_native_pods”
I ran npm audit fix and it added react_native_pods file and pod install then worked
I ran npm audit fix and it added react_native_pods file and pod install then worked
In Flutter project, I Also faced with this issue. Fixed by updating flutter and cocoa pods to the latest version. Solution:- flutter clean rm -Rf ios/Pods rm -Rf ios/.symlinks rm -Rf ios/Flutter/Flutter.framework rm -Rf ios/Flutter/Flutter.podspec flutter pub get cd ios pod install arch -x86_64 pod install //(On an M1 mac use => arch -x86_64 pod … Read more
You could try running in verbose mode: pod install –verbose That’ll show you what cocoa pods are up to: Setting up CocoaPods master repo Cloning spec repo `master` from `https://github.com/CocoaPods/Specs.git` (branch `master`) $ /usr/bin/git clone ‘https://github.com/CocoaPods/Specs.git’ master Cloning into ‘master’… (as suggested here) For me the above step took quite a long time as the … Read more
Make sure you have the latest version of CocoaPods installed. $ pod update PODNAME was introduced recently. See this issue thread for more information: $ pod update When you run pod update SomePodName, CocoaPods will try to find an updated version of the pod SomePodName, without taking into account the version listed in Podfile.lock. It … Read more
I ran into the same problem, and I solved it by running the following commands which is given here pod repo remove master pod setup pod install
OK, found the problem. I upgraded Ruby some time ago and blasted away a whole load of gems. Solution: sudo gem install cocoapods For none-sudo use: export GEM_HOME=$HOME/.gem export PATH=$GEM_HOME/bin:$PATH gem install cocoapods –user-install