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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容