React Native Built Failed

时间:2017-06-24 20:21:44

标签: ios node.js react-native

The following build commands failed:
    PhaseScriptExecution Install\ Third\ Party /Users/iChep/Documents/Coding/React\ Native\ Apps/albums/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/albums.app
No devices are booted.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

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

我在尝试构建我的react本机应用程序时遇到了这个问题。我知道这个问题很常见,但我试图解决10个小时以来的问题,我在Facebook Trubleshooting页面和github问题页面上尝试了几乎所有的解决方案。我真的很沮丧,也很感激帮助。

我正在使用Node:8.1.2,

XCode:8.3.3,

npm:5.0.3,

react-native-cli:2.0.1,

react-native:0.45.1

1 个答案:

答案 0 :(得分:0)

如果没有修复,请尝试使用Xcode

  1. 转到文件 - >项目设置
  2. 单击“高级”按钮
  3. 选择“自定义”,然后在下拉菜单中选择“相对于工作区” 点击完成,完成
  4. "impute along columns"

    GitHub上的引用为enter image description here