Run this code to mimic downloading project for the first time
rm -rf node_modules ios/Pods ios/Podfile.lock package-lock.json
rm -rf ~/.npm/_cacache
rm -rf ~/Library/Caches/CocoaPods
rm -rf ~/Library/Developer/Xcode/DerivedData
npx react-native start --reset-cache
npm install
cd ios
pod install
cd ..
This sequence will:
This gives you a completely clean slate, just like downloading the project for the first time.