Ionic ios app构建失败的MainController.xib

Ionic ios app构建失败的MainController.xib,第1张

概述有时当我尝试在 xcode上构建我的ios项目时,我得到以下错误 The following build commands failed: CompileXIB ProjectName/Classes/MainViewController.xibError code 65 for command: xcodebuild with args: -xcconfig,/Users/rites 有时当我尝试在 xcode上构建我的ios项目时,我得到以下错误

The following build commands Failed:    CompileXIB Projectname/Classes/MainVIEwController.xibError code 65 for command: xcodebuild with args: -xcconfig,/Users/ritesh/documents/Projects/test-app/platforms/ios/cordova/build-deBUG.xcconfig,-project,Projectname.xcodeproj,ARCHS=i386,-target,Projectname,-configuration,DeBUG,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONfigURATION_BUILD_DIR=/Users/ritesh/documents/Projects/test-app/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/ritesh/documents/Projects/test-app/platforms/ios/build/sharedpchERROR building one of the platforms: Error: /Users/ritesh/documents/Projects/test-app/platforms/ios/cordova/build: Command Failed with exit code 2You may not have the required environment or OS to build this projectError: /Users/ritesh/documents/Projects/test-app/platforms/ios/cordova/build: Command Failed with exit code 2    at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.Js:139:23)    at ChildProcess.emit (events.Js:110:17)    at maybeClose (child_process.Js:1015:16)    at Process.ChildProcess._handle.onexit (child_process.Js:1087:5)

我读了这篇博文,虽然他的建议很有意义,但我没有文件的副本,他说我打开我的.pbxproj文件时应该看到.

https://medium.com/@_qzapaia/cordova-ionic-ios-build-error-697a7ec5b46#.snruarnmz

如果我第二次构建我的项目,它会正确构建,所以我不确定偶尔会导致什么.任何人的线索?

干杯

解决方法 运行(这将删除旧的离子ios平台)

sudo ionic platform rm ios

然后(这将安装一个具有权限的新平台)

sudo ionic platform add ios

然后构建你的代码ios / androID

ionic build iosionic build androID

这为我修好了!

总结

以上是内存溢出为你收集整理的Ionic ios app构建失败的MainController.xib全部内容,希望文章能够帮你解决Ionic ios app构建失败的MainController.xib所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1047261.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-25
下一篇 2022-05-25

发表评论

登录后才能评论

评论列表(0条)

保存