【问题标题】:when i will run the app in ios i have an error can someone help me?当我将在 ios 中运行应用程序时出现错误,有人可以帮助我吗?
【发布时间】:2018-11-06 20:31:24
【问题描述】:

未能安装请求的应用程序

无法确定应用程序的包标识符。

确保应用程序的 Info.plist 包含 CFBundleIdentifier 的值。

打印:条目,“:CFBundleIdentifier”,不存在

命令失败:/usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/EhackB.app/Info.plist

打印:条目,“:CFBundleIdentifier”,不存在

错误:命令失败:/usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/EhackB.app/Info.plist

打印:条目,“:CFBundleIdentifier”,不存在

【问题讨论】:

标签: react-native terminal


【解决方案1】:

** 构建失败 **

以下构建命令失败: CompileC /Users/AliSonmez/_Git/APP&WEB/EhackB/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/third-party.build/Objects-normal/x86_64/symbolize.o /Users/AliSonmez/ _Git/APP&WEB/EhackB/node_modules/react-native/third-party/glog-0.3.5/src/symbolize.cc 正常x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 次失败)

安装 build/Build/Products/Debug-iphonesimulator/EhackB.app 处理命令时遇到错误(域=NSPOSIXErrorDomain,代码=22): 未能安装请求的应用程序 无法确定应用程序的捆绑标识符。 确保应用程序的 Info.plist 包含 CFBundleIdentifier 的值。 打印:条目,“:CFBundleIdentifier”,不存在

命令失败:/usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/EhackB.app/Info.plist 打印:条目,“:CFBundleIdentifier”,不存在

错误:命令失败:/usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/EhackB.app/Info.plist 打印:条目,“:CFBundleIdentifier”,不存在

at checkExecSyncError (child_process.js:618:11)
at Object.execFileSync (child_process.js:636:13)
at Promise.then (/Users/AliSonmez/_Git/APP&WEB/EhackB/node_modules/react-native/local-cli/runIOS/runIOS.js:208:5)

【讨论】:

    【解决方案2】:

    你的问题似乎在这里

    /Users/AliSonmez/_Git/APP&WEB/EhackB/node_modules/react-native/third-party/glog-0.3.5/src/symbolize.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure)
    

    使用 glog-0.3.5 库。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-06-14
      • 1970-01-01
      • 2022-01-07
      • 2021-05-14
      • 1970-01-01
      • 1970-01-01
      • 2020-04-01
      • 2021-08-30
      相关资源
      最近更新 更多