简体   繁体   English

构建失败 react-native 0.6.5 我们运行了“xcodebuild”命令,但它以错误代码 65 退出

[英]build failed react-native 0.6.5 We ran "xcodebuild" command but it exited with error code 65

I'm having this problem "error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening starter.xcodeproj. Run CLI with --verbose flag for more details."我遇到了这个问题“错误无法构建 iOS 项目。我们运行了“xcodebuild”命令,但它以错误代码 65 退出。要进一步调试构建日志,请考虑使用 Xcode.app 构建您的应用程序,方法是打开 starter.xcodeproj。运行带有 --verbose 标志的 CLI 以获取更多详细信息。” since I pulled the latest update from the other colleague, I can't run the project in my simulator, but my colleagues side works fine.由于我从另一位同事那里提取了最新更新,我无法在我的模拟器中运行该项目,但我的同事方面工作正常。

  • I've tried to change the build system to legacy build system.我试图将构建系统更改为旧版构建系统。
  • Clone the project again.再次克隆项目。
  • remove the build folder under iOS folder, and run again.删除iOS文件夹下的build文件夹,再次运行。
  • remove the node module folder and run again.删除节点模块文件夹并再次运行。
  • I have tested in different device is not working too.我在不同的设备上测试过也不起作用。

error Failed to build iOS project.错误 无法构建 iOS 项目。 We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening starter.xcodeproj.我们运行了“xcodebuild”命令,但它以错误代码 65 退出。要进一步调试构建日志,请考虑使用 Xcode.app 构建您的应用程序,方法是打开 starter.xcodeproj。 Run CLI with --verbose flag for more details.使用 --verbose 标志运行 CLI 以获取更多详细信息。 User defaults from command line: IDEDerivedDataPathOverride = /Users/nexplatform/Desktop/padini scm mobile/SCM/ios/build/starter命令行中的用户默认值:IDEDerivedDataPathOverride = /Users/nexplatform/Desktop/padini scm mobile/SCM/ios/build/starter

You have tried to enter the IOS route: 您尝试输入IOS路线:

 > Pod install 

I had a similar error, but I know if this is your case. 我有一个类似的错误,但我知道这是否是您的情况。 But it can also be, if you are using Push Notifications the problem is the configuration. 但是也可能是这样,如果您使用的是“推送通知”,那么问题就出在配置上。

It would be nice to see the full detail of the error. 很高兴看到错误的全部细节。 🤔 🤔

brew install cocoapods
cd projectfolder/ios
pod install

and

cd..
react-native run-ios 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM