react-native在mac机运行报错处理":CFBundleIdentifier", Does Not Exist

** BUILD FAILED **

The following commands produced analyzer issues:

Analyze Views/RCTMapManager.m

Analyze Modules/RCTRedBox.m

(2 commands with analyzer issues)

The following build commands failed:

Ld build/Build/Products/Debug-iphonesimulator/PTclient.app/PTclient normal x86_64

(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/PTclient.app

An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):

Failed to install the requested application

The bundle identifier of the application could not be determined.

Ensure that the application's Info.plist contains a value for CFBundleIdentifier.

Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/PTclient.app/Info.plist

Print: Entry, ":CFBundleIdentifier", Does Not Exist


处理方式(在根目录下运行):

react-native upgrade

你可能感兴趣的:(react-native在mac机运行报错处理":CFBundleIdentifier", Does Not Exist)