在Xamarin中与iOS8一起运行iOS7模拟器

在Xamarin中与iOS8一起运行iOS7模拟器,ios7,xamarin,ios8,ios-simulator,xcode6,Ios7,Xamarin,Ios8,Ios Simulator,Xcode6,我已经升级到XCode 6,重新安装了iOS 7.1模拟器,现在我的Xamarin应用程序在发布图像显示后立即终止。应用程序输出如下所示: Starting iPad 2 Launching application Application launched. PID = 97972 Press enter to terminate the application > Application Terminated 如果我选择iOS8模拟器,那么它运行时不会出现问题 是否有任何设置需要手动更

我已经升级到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.
10月14日16:40:22 Chriss-MacBook-Pro-2.local CoreSimulatorBridge[7807]:启动服务:为现有占位符LSApplicationProxy安装应用程序:com.HIDDENAPPNAME
10月14日16:40:22 Chriss-MacBook-Pro-2.local CoreSimulatorBridge[7807]:LaunchServices:不为LSApplicationProxy:com.HIDDENAPPNAME创建进度,因为它不是占位符。
10月14日16:40:22 Chriss-MacBook-Pro-2.local installd[7800]:0xb0115000 handle_install_用于安装“/Users/chriskoiak/Documents/Initial/Mobile Clients/HIDDEN_CLIENT_NAME/bin/iPhoneSimulator/Debug/HIDDENAPPNAME.app”,由CoreSimulatorBridge请求
10月14日16:40:22 Chriss-MacBook-Pro-2.local安装[7800]:0xb0115000 mobileininstallationinstall\u服务器:安装应用程序com.HIDDENAPPNAME
10月14日16:40:22 Chriss-MacBook-Pro-2.local installd[7800]:0xb0115000安装应用程序:正在执行开发人员增量修补程序
10月14日16:40:22 Chriss-MacBook-Pro-2.本地安装[7800]:0xb0115000移动安装安装服务器:暂存:0.01s;等待时间:0.00s;安装:0.02s;LS同步:0.00s;整体:0.03秒
10月14日16:40:22 Chriss-MacBook-Pro-2.本地lsd[7811]:LaunchServices:更新标识符存储
10月14日16:40:22 Chriss-MacBook-Pro-2.本地跳板[7804]:LibMobileGSTALT MOBILEGSTALT.c:835:静止摄像头是静态的,永远不会生成通知
10月14日16:40:22 Chriss-MacBook-Pro-2.本地跳板[7804]:libMobileGestalt MobileGestalt.c:835:独立联系人是静态的,永远不会生成通知
10月14日16:40:23 Chriss-MacBook-Pro-2.local backboardDD[7794]:应用程序“UIKitApplication:com.HIDDENAPPNAME[0x9262]”异常退出,信号为5:Trace/BPT trap:5
10月14日16:40:32 Chriss-MacBook-Pro-2.local lsd[7811]:LaunchServices:当前安装了0个占位符:(
)
10月14日16:40:42 Chriss-MacBook-Pro-2.local mstreamd[7799]:(注意)PS:媒体流后台程序正在停止。
10月14日16:40:42 Chriss-MacBook-Pro-2.local mstreamd[7799]:(注意)AS::Shared Streams守护程序已关闭。
10月14日16:40:42 Chriss-MacBook-Pro-2.本地mstreamd[7799]:(警告)mstreamd:mstreamd关闭。

谢谢

Xamarin.iOS v8.0中有一个bug可能会导致这种行为


该漏洞已在Xamarin.iOS v8.2中修复,因此请确保您使用的是最新的稳定版本(即Xamarin.iOS 8.2)。

该问题与“链接器行为”有关。将其从“不链接”更新为“仅链接SDK程序集”解决了我的问题。

谢谢Rolf,但我已经在模拟器中使用Xamarin.iOS v8.2.0.193构建日期:2014-10-03 00:25:37-0400,打开
Debug->open System Log…
,查看在您尝试启动应用程序时是否打印了有用的内容。我已经用系统日志更新了原始帖子。我看不到任何指向错误原因的内容。
应用程序“UIKitApplication:com.HIDDENAPPNAME[0x9262]”异常退出,信号为5:Trace/BPT trap:5
-检查控制台应用程序是否有崩溃报告(它们将显示在“用户诊断报告”下)@RolfBjarneKvinge FWIW,我刚刚在alpha频道的Xamarin.iOS 8.4.0.38上也遇到了这个问题。必须更改链接设置才能使其正常工作。只是遇到了同样的问题。我把头发拔了出来,直到我改变了链接行为,它才起作用。