小编Pio*_*iel的帖子

新的react-native ios应用程序没有构建?

以下是有关我的环境和构建失败日志的详细信息.任何面临类似问题或知道克服此问题的步骤的人请指出相关步骤或文档.

  • Xcode:7.2.1
  • 节点:v5.9.0
  • npm:3.7.3
  • react-native-cli:0.1.10
  • 反应原生:0.22.2

运行"sudo react-native run-ios"给我留下了下面的日志.

日志:

** BUILD FAILED **


The following build commands failed:
    PhaseScriptExecution Run\ Script /Users/abc/Desktop/REACT-NATIVE/demo/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-006B79A01A781F38006873D1.sh
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/demo.app
No devices are booted.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
/Users/abc/Desktop/REACT-NATIVE/demo/node_modules/promise/lib/done.js:10
      throw err;
      ^

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

    at checkExecSyncError (child_process.js:469:13)
    at Object.execFileSync (child_process.js:489:13)
    at _runIOS (runIOS.js:83:34)
    at runIOS.js:24:5
    at tryCallTwo (/Users/abc/Desktop/REACT-NATIVE/demo/node_modules/promise/lib/core.js:45:5)
    at doResolve (/Users/abc/Desktop/REACT-NATIVE/demo/node_modules/promise/lib/core.js:200:13)
    at new Promise (/Users/abc/Desktop/REACT-NATIVE/demo/node_modules/promise/lib/core.js:66:3)
    at Array.runIOS (runIOS.js:23:10)
    at Object.run …
Run Code Online (Sandbox Code Playgroud)

macos node.js ios react-native

13
推荐指数
2
解决办法
8980
查看次数

标签 统计

ios ×1

macos ×1

node.js ×1

react-native ×1