我已经升级到XCode 6,重新安装了iOS 7.1模拟器,现在我的Xamarin应用程序在发布映像显示后立即终止。应用程序输出如下:
Starting iPad 2
Launching application
Application launched. PID = 97972
Press enter to terminate the application
>
Application Terminated如果我选择了iOS8模拟器,那么它就没有问题地运行了。
是否有任何设置需要手动更改,或者是否有更好的调试信息?
更新:系统日志跟踪
Oct 14 16:40:22 Chriss-MacBook-Pro-2.local CoreSimulatorBridge[7807] <Warning>: LaunchServices: installing app for existing placeholder LSApplicationProxy: com.HIDDENAPPNAME
Oct 14 16:40:22 Chriss-MacBook-Pro-2.local CoreSimulatorBridge[7807] <Warning>: LaunchServices: Not creating progress for LSApplicationProxy: com.HIDDENAPPNAME since it is not a placeholder.
Oct 14 16:40:22 Chriss-MacBook-Pro-2.local installd[7800] <Notice>: 0xb0115000 handle_install_for_ls: Install of "/Users/chriskoiak/Documents/Initial/Mobile Clients/HIDDEN_CLIENT_NAME/bin/iPhoneSimulator/Debug/HIDDENAPPNAME.app" requested by CoreSimulatorBridge
Oct 14 16:40:22 Chriss-MacBook-Pro-2.local installd[7800] <Notice>: 0xb0115000 MobileInstallationInstall_Server: Installing app com.HIDDENAPPNAME
Oct 14 16:40:22 Chriss-MacBook-Pro-2.local installd[7800] <Notice>: 0xb0115000 install_application: Performing developer delta patch
Oct 14 16:40:22 Chriss-MacBook-Pro-2.local installd[7800] <Notice>: 0xb0115000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.02s; LS Sync: 0.00s; Overall: 0.03s
Oct 14 16:40:22 Chriss-MacBook-Pro-2.local lsd[7811] <Warning>: LaunchServices: Updating identifier store
Oct 14 16:40:22 Chriss-MacBook-Pro-2.local SpringBoard[7804] <Error>: libMobileGestalt MobileGestalt.c:835: still-camera is static and will never generate a notification
Oct 14 16:40:22 Chriss-MacBook-Pro-2.local SpringBoard[7804] <Error>: libMobileGestalt MobileGestalt.c:835: stand-alone-contacts is static and will never generate a notification
Oct 14 16:40:23 Chriss-MacBook-Pro-2.local backboardd[7794] <Warning>: Application 'UIKitApplication:com.HIDDENAPPNAME[0x9262]' exited abnormally with signal 5: Trace/BPT trap: 5
Oct 14 16:40:32 Chriss-MacBook-Pro-2.local lsd[7811] <Warning>: LaunchServices: Currently 0 installed placeholders: (
)
Oct 14 16:40:42 Chriss-MacBook-Pro-2.local mstreamd[7799] <Notice>: (Note ) PS: Media stream daemon stopping.
Oct 14 16:40:42 Chriss-MacBook-Pro-2.local mstreamd[7799] <Notice>: (Note ) AS: <MSIOSAlbumSharingDaemon: 0x3a1c630>: Shared Streams daemon has shut down.
Oct 14 16:40:42 Chriss-MacBook-Pro-2.local mstreamd[7799] <Notice>: (Warn ) mstreamd: mstreamd shutting down.谢谢
发布于 2014-10-14 15:53:29
这一问题与“链接者行为”有关。从“不链接”更新到“仅链接SDK程序集”解决了我的问题。
发布于 2014-10-14 09:59:22
Xamarin.iOS v8.0中存在一个可能导致此行为的错误。
这个bug是在Xamarin.iOS v8.2中修复的,所以请确保您使用的是最新的稳定版本(即Xamarin.iOS 8.2)。
https://stackoverflow.com/questions/26356538
复制相似问题