Respond to my own project showing an error when I run it with "run-ios run-ios"?

1) Installed reaction-native

2) Created a project with "init-init init myproj"

3) After that, I tried to start the project using "run-ios to respond"

This does not work out an error:

Print: record, ": CFBundleIdentifier", does not exist / Users / blaze / Desktop / prasa / node_modules / promise / lib / done.js: 10 throw an error; ^

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?

+5
source share
2 answers

1) delete the ios / build directory 2) reset the contents and settings in the iOS simulator

It worked for me.

+1
source

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

0
source

Source: https://habr.com/ru/post/1243813/


All Articles