React Native - npx react-native run-ios doesn't work after initializing the project React Native - npx react-native run-ios doesn't work after initializing the project ios ios

React Native - npx react-native run-ios doesn't work after initializing the project


It's because of use_flipper in Podfile for iOS project.

use_flipper!

So, I was needed to indicate Flipper-Folly version with use_flipper as

use_flipper!({ 'Flipper-Folly' => '2.3.0' })

It worked perfectly after that change.


Following Everest Climber answer

  1. In Podfile under ios/ folder

    Change use_flipper! to use_flipper!({ 'Flipper-Folly' => '2.3.0' })

  2. cd ios
  3. pod install
  4. pod update
  5. cd .. && npx react-native run-ios (to run the application)

This worked for me. Hopefully, it works for you too


I could solve this issue after disabling Flipper in ios/Podfile.

  1. Fix Podfile as shown in below image

enter image description here

  1. cd ios
  2. delete Pods folder and Podfile.lock
  3. pod install
  4. pod update
  5. cd .. && npx react-native run-ios