React-Native iOS应用程序构建失败 – 打印:条目,“:CFBundleI
发布时间:2020-12-15 20:50:11 所属栏目:百科 来源:网络整理
导读:我在我的本地Mac OS X El Capitan机器上运行react-native应用程序.我已经安装了所需的依赖项,但该应用程序仍未在iOS模拟器中启动. 这是输出: ** BUILD FAILED **The following build commands failed: Ld build/Build/Products/Debug-iphonesimulator/F8v2.
我在我的本地Mac OS X El Capitan机器上运行react-native应用程序.我已经安装了所需的依赖项,但该应用程序仍未在iOS模拟器中启动.
这是输出: ** BUILD FAILED ** The following build commands failed: Ld build/Build/Products/Debug-iphonesimulator/F8v2.app/F8v2 normal x86_64 (1 failure) Installing build/Build/Products/Debug-iphonesimulator/F8v2.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 /Users/-/f8app/node_modules/react-native/node_modules/promise/lib/done.js:10 throw err; ^ Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/F8v2.app/Info.plist Print: Entry,Does Not Exist at checkExecSyncError (child_process.js:464:13) at Object.execFileSync (child_process.js:484:13) at _runIOS (/Users/-/f8app/node_modules/react-native/local-cli/runIOS/runIOS.js:82:32) at /Users/-/f8app/node_modules/react-native/local-cli/runIOS/runIOS.js:24:5 at tryCallTwo (/Users/-/f8app/node_modules/react-native/node_modules/promise/lib/core.js:45:5) at doResolve (/Users/-/f8app/node_modules/react-native/node_modules/promise/lib/core.js:200:13) at new Promise (/Users/-/f8app/node_modules/react-native/node_modules/promise/lib/core.js:66:3) at Array.runIOS (/Users/-/f8app/node_modules/react-native/local-cli/runIOS/runIOS.js:23:10) at Object.run (/Users/-/f8app/node_modules/react-native/local-cli/cliEntry.js:96:13) at Object.<anonymous> (/usr/local/lib/node_modules/react-native-cli/index.js:88:7)
运行react-native upgrade并覆盖所有iOS文件.这样做对我而言.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- entity-framework – 如何使用Entity Framework Code First
- vue.js实现单选框、复选框和下拉框示例
- c# – 提供给.NET泛型构造函数的类型参数,但仍然会导致错误
- iphone – 在iOS上存储身份验证令牌
- 在ajax的success方法中$(this)不可用的解决办法
- 如何在Swift中的[String:Class]类型的Dictionary中存储Cla
- XML简介
- c# – Asp.Net核心挑战返回Null URI异常错误
- xml – OWL,RDF,RDFa,Dublin Core和FOAF之间的关系是什么?
- c – 跨平台简单的TCP / IP API?