React Native ~ Troubleshooting ~ iOS - rohit120582sharma/Documentation GitHub Wiki

No bundle url present

Option 1

  • Uninstall the application from simulator
  • cd YOUR_PROJECT
  • Run npm run ios

Option 2

  • Open a terminal window
  • cd YOUR_PROJECT/ios
  • Remove the build folder with rm -r build
  • cd YOUR_PROJECT
  • Run npm run ios again

Unable to find utility 'instruments'

Error

Found Xcode project TestProject.xcodeproj
xcrun: error: unable to find utility "instruments", not a developer   
tool or in PATH

Command failed: xcrun instruments -s
xcrun: error: unable to find utility "instruments", not a developer 
tool or in PATH

Solution

In Xcode, select Xcode menu, then Preferences, then Locations tab. Select your Xcode version from the dropdown and exit Xcode.

Reference link for more details.


'rctbundleurlprovider.h' file not found

Error

"react-native-global-props appdelegate.m:12:9: 'rctbundleurlprovider.h' file not found"

Solution

Unlink react-native-global-props and build.

react-native unlink react-native-global-props

Reference link for more details.

⚠️ **GitHub.com Fallback** ⚠️