程序问答   发布时间:2022-06-02  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了打印:条目“:CFBundleIdentifier”不存在大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

如何解决打印:条目“:CFBundlEIDentifier”不存在?

开发过程中遇到打印:条目“:CFBundlEIDentifier”不存在的问题如何解决?下面主要结合日常开发的经验,给出你关于打印:条目“:CFBundlEIDentifier”不存在的解决方法建议,希望对你解决打印:条目“:CFBundlEIDentifier”不存在有所启发或帮助;

我的问题实际上是我的构建处于发布模式而不是调试模式。结果,标识符指向了不存在的东西。我更改了构建类型,并最终正常工作。

解决方法

运行react-native run- ios构建时成功,但是出现以下错误。我检查了整个地方,但似乎没有任何反应。sudo在命令前使用该命令也无济于事。我正在使用Xcode
7.3,react-native-cli:0.2.0,react-native:0.24.1,节点v5.11.0。

=== BUILD TARGET mobileTests OF PROjeCT mobile WITH CONFIGURATION Release ===

check dependencies

** BUILD SUCCEEDED **

Installing build/Build/Products/Debug-iphonesimulator/mobile.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain,code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry,":CFBundlEIDentifier",Does Not Exist
/Users/astiefel/workspace/bosspayments/mobile/node_modules/promise/lib/done.js:10
      throw err;
      ^

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

    at checkExecSyncError (child_process.js:470:13)
    at Object.execFileSync (child_process.js:490:13)
    at _runIOS (runIOs.js:91:34)
    at runIOs.js:24:5
    at tryCallTwo (/Users/astiefel/workspace/bosspayments/mobile/node_modules/promise/lib/core.js:45:5)
    at doResolve (/Users/astiefel/workspace/bosspayments/mobile/node_modules/promise/lib/core.js:200:13)
    at new Promise (/Users/astiefel/workspace/bosspayments/mobile/node_modules/promise/lib/core.js:66:3)
    at Array.runIOS (runIOs.js:23:10)
    at Object.run (/Users/astiefel/workspace/bosspayments/mobile/node_modules/react-native/local-cli/cli.js:86:13)
    at Object.<anonymous> (/usr/local/lib/node_modules/react-native-cli/index.js:88:7)

大佬总结

以上是大佬教程为你收集整理的打印:条目“:CFBundleIdentifier”不存在全部内容,希望文章能够帮你解决打印:条目“:CFBundleIdentifier”不存在所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。