我已升级到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.
由于
答案 0 :(得分:1)
该问题与&#34;链接器行为有关&#34;。从&#34; Don&ttt Link&#34;更新到&#34;仅限链接SDK程序集&#34;解决了我的问题。
答案 1 :(得分:0)
Xamarin.iOS v8.0中存在可能导致此行为的错误。
该错误已在Xamarin.iOS v8.2中修复,因此请确保您使用的是最新的稳定版本(即Xamarin.iOS 8.2)。