React-native Run-ios构建失败.error无法构建iOS项目。我们运行了“ xcodebuild”命令,但它退出并显示错误代码65

时间:2019-04-10 14:45:39

标签: react-native react-native-ios

我看到了一些类似的问题。但是他们都没有解决我的问题。 react-native-cli:2.0.1 反应本机:0.59.4 模拟器版本10.1(SimulatorApp-877 CoreSimulator-587.35) Xcode版本10.2(10E125)

将xcode升级到10.2后,此问题开始了 以下构建命令失败:         CompileXIB /用户/ rezwanakabita /桌面/Navigation_Practice/react-native-firebase-starter/ios/RNFirebaseStarter/Base.lproj/LaunchScreen.xib (1次失败)

我尝试了StackOverflow先前问题中的所有解决方案。但是没有一个解决我的问题。任何帮助,将不胜感激。谢谢。

{
  "name": "RNFirebaseStarter",
  "version": "5.3.0",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios --simulator=\"iPhone X\"",
    "apk": "cd android && ./gradlew assembleRelease",
    "rename": "node ./bin/rename.js",
    "start": "react-native start",
    "test": "jest"
  },
  "dependencies": {
    "react": "16.8.3",
    "react-native": "0.59.4",
    "react-native-firebase": "5.3.0",
    "realm": "^2.26.0"
  },
  "devDependencies": {
    "@babel/core": "^7.4.3",
    "@babel/runtime": "^7.4.3",
    "babel-jest": "^24.7.1",
    "jest": "^24.7.1",
    "metro-react-native-babel-preset": "^0.53.1",
    "react-test-renderer": "16.8.3"
  },
  "jest": {
    "preset": "react-native"
  }
} 

1 个答案:

答案 0 :(得分:0)

react-native github issue中提到的临时修复方法是使用Legacy Build System

File -> Workspace Settings -> Build System -> Legacy Build System