这是按预期工作,应用程序安装在模拟器上.
但是,手动启动应用程序或使用xcrun simctl启动启动com.company.MyApp失败.退回错误:
An error was encountered processing the command
(domain=FBSOpenApplicationErrorDomain,code=1): The operation Couldn’t
be completed. (FBSOpenApplicationErrorDomain error 1.)
该应用程序从Xcode导出(请注意,从Xcode运行应用程序或从其源代码重新构建应用程序不是有责任的解决方案).
这不是应用程序特定的,因为任何以这种方式安装的应用程序都会出现相同的错误.
系统日志报告相同的错误,但有一些其他信息.
com.apple.CoreSimulator.SimDevice.CA35ED48-DDAA-4CF0-8C69-C206CC55A6EB.launchd_sim[4200]
(UIKitApplication:com.company.MyApp[0xe9ec][4281]): Program specifIEd
by service does not contain one of the requested architectures: RSpringBoard[4217]: Unable to get pID for
‘UIKitApplication:com.company.MyApp[0xe9ec]’: No such process (err 3)SpringBoard[4217]: bootstrapPing Failed for
SpringBoard[4217]: Application
‘UIKitApplication:com.company.MyApp[0xe9ec]’ exited voluntarily.SpringBoard[4217]: CGContextSaveGState: invalID context 0x0. If you
want to see the backtrace,please set CG_CONTEXT_SHOW_BACKTRACE
environmental variable.SpringBoard[4217]: CGContextTranslateCTM: invalID context 0x0. If you
want to see the backtrace,please set CG_CONTEXT_SHOW_BACKTRACE
environmental variable.SpringBoard[4217]: CGContextRestoreGState: invalID context 0x0. If you
want to see the backtrace,please set CG_CONTEXT_SHOW_BACKTRACE
environmental variable.SpringBoard[4217]: CGContextSaveGState: invalID context 0x0. If you
want to see the backtrace,please set CG_CONTEXT_SHOW_BACKTRACE
environmental variable.com.apple.CoreSimulator.SimDevice.CA35ED48-DDAA-4CF0-8C69-C206CC55A6EB.launchd_sim[4200]
(UIKitApplication:com.company.MyApp[0xc82f][4282]): Program specifIEd
by service does not contain one of the requested architectures: RSpringBoard[4217]: Unable to get pID for
‘UIKitApplication:com.company.MyApp[0xc82f]’: No such process (err 3)SpringBoard[4217]: bootstrapPing Failed for
SpringBoard[4217]: Application
‘UIKitApplication:com.company.MyApp[0xc82f]’ exited voluntarily.
架构误差变化. R,f等
造成这个问题的原因是什么?我该怎么解决?
解决方法 我也有同样的问题,但是使用Xamarin.在Visual Studio中,我通过转到iOS项目属性和“iOS Build”,将“支持的架构”从“i386”更改为“i386 x86_64”.希望你可以适应XCode.
总结以上是内存溢出为你收集整理的xcode – 手动安装在模拟器中的应用程序在加载时崩溃全部内容,希望文章能够帮你解决xcode – 手动安装在模拟器中的应用程序在加载时崩溃所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)