React-Native iOS构建失败:错误:xcodebuild进程退出代码65

时间:2016-09-01 17:55:35

标签: react-native

我正在使用以下版本运行React-Native:

react-native-cli :1.0.0

react-native :0.30.0

npm :3.10.3

节点:v6.5.0

" 反应":" ~15.2.1"

运行react-native run-ios时,我得到了:

** BUILD FAILED **


The following build commands failed:
    CompileC /Users/*/f8app/ios/build/Build/Intermediates/Pods.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTRootShadowView.o /Users/*/f8app/node_modules/react-native/React/Views/RCTRootShadowView.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
/Users/*/f8app/node_modules/react-native/node_modules/promise/lib/done.js:10
      throw err;
      ^

Error: xcodebuild process exited with code 65
    at ChildProcess.<anonymous> (/Users/*/f8app/node_modules/react-native/local-cli/runIOS/runIOS.js:93:14)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
Michaels-MacBook-Pro-2:f8app *$ 

1 个答案:

答案 0 :(得分:1)

您可以尝试使用此命令npm dedupe。就我而言,它就像一个没有错误65的护身符。它发生在xcode 10.01之后

命令行

cd“到项目的路径” npm重复数据删除