Prasanna
Prasanna

Reputation: 195

React Native project showing error when I run it using "react-native run-ios"

  1. Installed react-native

  2. Created a project with "react-native init myproj"

  3. After that I tried to run the project using "react-native run-ios"

It fails here with the error below:

Print: Entry, ":CFBundleIdentifier", Does Not Exist /Users/blaze/Desktop/prasa/node_modules/promise/lib/done.js:10 throw err; ^

Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/prasa.app/Info.plist Print: Entry, ":CFBundleIdentifier", Does Not Exist

Any suggestions?

Upvotes: 4

Views: 2336

Answers (3)

Nitin Shukla
Nitin Shukla

Reputation: 1

delete node modules folder. and reinstall it again using yarn/npm install

This solved the issue

Upvotes: 0

Daniel Steigerwald
Daniel Steigerwald

Reputation: 1101

  1. Delete the iOS/build directory
  2. Reset content and settings in the iOS simulator

It worked for me.

Upvotes: 1

Rama Prashanth
Rama Prashanth

Reputation: 87

I solved this issue with the react-native upgrade command, which helped me reset some details in various xcode files. This solved the issue.

Upvotes: 0

Related Questions