本文主要是介绍error Failed to build iOS project. We ran xcodebuild command but it exited with error code 65.- RN,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
一波一波又一波啊,最近一路掉进去爬出来反反复复,嗯。。。又掉进来了,速战速决记录下继续前行。。
macOS 环境下运行 iOS 模拟器进行调试时抛出的如下异常
异常信息
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 skill_assessment.xcworkspace. Run CLI with --verbose flag for more details.
解决办法
首先,清除当前项目中所加载关联的依赖包并清除 yarn 的缓存
rm -rf node_modules && yarn cache clean
其次,重新安装依赖包
yarn install
再其次,清除 ReactNative 的缓存
rm -rf ~/.rncache
最后,重新尝试启动程序模拟器即可
react-native run-ios
以上便是此次分享的全部内容,希望能对大家有所帮助!
这篇关于error Failed to build iOS project. We ran xcodebuild command but it exited with error code 65.- RN的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!