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:

  1. Remove all project-specific cached files
  2. Clear npm cache globally
  3. Clear CocoaPods cache
  4. Clear Xcode derived data
  5. Reset React Native Metro bundler cache
  6. Reinstall all dependencies fresh
  7. Reinstall iOS pods fresh

This gives you a completely clean slate, just like downloading the project for the first time.

Didn’t work nicely, find a complet