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

问题描述 投票:4回答:1

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

将xcode升级到10.2后,此问题已启动以下构建命令失败:CompileXIB /Users/rezwanakabita/Desktop/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"
  }
} 
react-native react-native-ios
1个回答
0
投票

反应原生github issue中提到的临时修复是使用Legacy Build System

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

© www.soinside.com 2019 - 2024. All rights reserved.