Xcode 11.1 GM Seed附带的iOS模拟器(11.1)似乎无法启动iOS 13.1设备

Xcode 11.1 GM Seed附带的iOS模拟器(11.1)似乎无法启动iOS 13.1设备,xcode,ios-simulator,ios13,Xcode,Ios Simulator,Ios13,我正在运行Mac OS X Mojave 10.14.6。我安装的唯一一个应用程序是新下载的Xcode 11.1 GM Seed(11A1027)。这个系统上没有以前的文件、项目或应用程序,因为我只是想开始学习Swift编程 在Xcode中,我为单视图iOS应用程序创建了一个新项目。我没有做任何修改就编译了它,构建成功了。默认情况下,它会在iOS 13.1上启动iPhone 11 Pro Max 模拟器启动后,设备窗口出现,一个进度条运行了一段时间。过了一段时间,一个旋转指示器出现在黑屏上,但什

我正在运行Mac OS X Mojave 10.14.6。我安装的唯一一个应用程序是新下载的Xcode 11.1 GM Seed(11A1027)。这个系统上没有以前的文件、项目或应用程序,因为我只是想开始学习Swift编程

在Xcode中,我为单视图iOS应用程序创建了一个新项目。我没有做任何修改就编译了它,构建成功了。默认情况下,它会在iOS 13.1上启动iPhone 11 Pro Max

模拟器启动后,设备窗口出现,一个进度条运行了一段时间。过了一段时间,一个旋转指示器出现在黑屏上,但什么也没发生。这持续了几分钟,之后Xcode显示了以下错误:

打开“com.example.FoodTracker”的请求失败。意外错误类型

Details:

The request to open "com.example.FoodTracker" failed.
Domain: FBSOpenApplicationServiceErrorDomain
Code: 5
Failure Reason: Unexpected error type.
User Info: {
    BSErrorCodeDescription = InvlaidResponse;
}
--
The operation couldn't be completed.
(BSServiceConnectionErrorDomain error 3.)
Domain: BSServiceConnectionErrorDomain
Code: 3
User Info: {
    BSErrorCodeDescription = OperationFailed;
}
--
我让设备在模拟器中运行了很长一段时间,但它从未停止旋转

我尝试过重新安装Xcode,删除了DerivedData目录,进行了干净的构建,重新安装了一些Xcode组件,但我认为Xcode或项目本身没有问题

在模拟器中,我也尝试“擦除所有内容和设置”,好几次都没有成功。 我尝试启动新设备,第一次尝试成功加载了iOS 12.2上的iPhone 6s。另一方面,我一直在用iPhone11Pro-Max和iPhone8设备尝试iOS13.1,但两款设备在加载后都卡住了

有时我也会这样:跳板出人意料地退出。当我查看详细信息时,似乎有信号终止了它

每当我用iOS 13.1启动iPhone11Pro-Max设备时,它都会无休止地旋转。检查系统日志后,我注意到相同的消息不断循环,其间延迟约5秒:

Sep 29 08:17:22 Peterdis-iMac SpringBoard[2774]: objc[2774]: Class UIDelayedAction is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x1247c9630) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/KeyboardArbiter.framework/KeyboardArbiter (0x10a3e4a60). One of the two will be used. Which one is undefined.
Sep 29 08:17:22 Peterdis-iMac SpringBoard[2774]: objc[2774]: Class UIHeldAction is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x1247c9680) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/KeyboardArbiter.framework/KeyboardArbiter (0x10a3e4ab0). One of the two will be used. Which one is undefined.
Sep 29 08:17:22 Peterdis-iMac SpringBoard[2774]: objc[2774]: Class SPXPCConnection is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/Search.framework/Search (0x130d5a858) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpotlightUI.framework/SpotlightUI (0x10b4a1e30). One of the two will be used. Which one is undefined.
Sep 29 08:17:22 Peterdis-iMac SpringBoard[2774]: objc[2774]: Class SPXPCServer is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/Search.framework/Search (0x130d5a8d0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpotlightUI.framework/SpotlightUI (0x10b4a1ea8). One of the two will be used. Which one is undefined.
Sep 29 08:17:22 Peterdis-iMac SpringBoard[2774]: objc[2774]: Class SPXPCMessage is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/Search.framework/Search (0x130d5a880) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpotlightUI.framework/SpotlightUI (0x10b4a1e58). One of the two will be used. Which one is undefined.
Sep 29 08:17:22 Peterdis-iMac SpringBoard[2774]: objc[2774]: Class SPApplication is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/Search.framework/Search (0x130d5a448) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpotlightUI.framework/SpotlightUI (0x10b4a1f20). One of the two will be used. Which one is undefined.
Sep 29 08:17:22 Peterdis-iMac SpringBoard[2774]: objc[2774]: Class AFUIPreferences is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SiriUI.framework/SiriUI (0x10de1a5c8) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AssistantUI.framework/AssistantUI (0x12a0fb790). One of the two will be used. Which one is undefined.
Sep 29 08:17:22 Peterdis-iMac SpringBoard[2774]: objc[2774]: Class SBFBokehWallpaperColorArbiter is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpringBoardFoundation.framework/SpringBoardFoundation (0x10dce3dd8) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpringBoardHome.framework/SpringBoardHome (0x107450800). One of the two will be used. Which one is undefined.
Sep 29 08:17:22 Peterdis-iMac SpringBoard[2774]: objc[2774]: Class SBFMotionGestureController is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpringBoardFoundation.framework/SpringBoardFoundation (0x10dce2050) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpringBoard.framework/SpringBoard (0x105a7fde0). One of the two will be used. Which one is undefined.
Sep 29 08:17:24 Peterdis-iMac SpringBoard[2774]: assertion failed: 18G103 17A844: libxpc.dylib + 83383 [F391B106-5033-3156-98D9-705C5A7FDECD]: 0x7d
Sep 29 08:17:25 Peterdis-iMac com.apple.CoreSimulator.SimDevice.FA4A0BF0-0673-484C-896D-178314FAFAFF[2657] (com.apple.SpringBoard[2774]): Service exited due to SIGILL | sent by exc handler[2774]
Sep 29 08:17:25 Peterdis-iMac com.apple.CoreSimulator.SimDevice.FA4A0BF0-0673-484C-896D-178314FAFAFF[2657] (com.apple.SpringBoard): Skipping remaining event endpoints for importance boosting.
Sep 29 08:17:25 Peterdis-iMac com.apple.CoreSimulator.SimDevice.FA4A0BF0-0673-484C-896D-178314FAFAFF[2657] (com.apple.SpringBoard): Skipping remaining instance endpoints for importance boosting.
我花了一整天的时间在谷歌上搜索解决方案,但到目前为止没有任何帮助。 我想在此期间,我将开始为12.2开发,假设基础知识没有太大的不同。尽管Xcode显然为13.0+生成了代码,而且它对我大喊大叫,“一些”、“视图”等等都是针对新版本的。

我也有同样的问题。 禁用AVX/AVX2已为我解决

VBoxManage setextradata "$vm_name" VBoxInternal/CPUM/IsaExts/AVX 0
VBoxManage setextradata "$vm_name" VBoxInternal/CPUM/IsaExts/AVX2 0

是的,这个解决方案有效

打开命令

  • cd“C:\Program Files\Oracle\VirtualBox\”
  • vboxmanagesetextradata“$vm_name”VBoxInternal/CPUM/isexts/AVX 0
  • vboxmanagesetextradata“$vm_name”VBoxInternal/CPUM/isexts/AVX2 0

  • 处于此状态时,运行“sudo sysdiagnose-q”和“xcrun simctl diagnose”。提交一个radar(),并包括生成的tarball、应用程序的bundle id以及遇到问题的大致时间戳。您的报告中没有足够的内容为您提供解决方案,而且对其他所有人都很好……模拟器出现问题的一种常见方式是通过第三方KEXT,它们充当防病毒软件或网络活动监视器,或类似的东西。运行sudo-kextstat-l | grep-v'com.apple',查看是否出现任何可疑情况。如果是这样,请尝试卸载该软件(并重新启动)。谢谢@Alexandr!我有一个非常类似的问题,你的回答解决了(我在VirtualBox上运行Mac)非常好的人!我正在使用Oracle Virtualbox的最新版本,版本是2020年1月14日。我似乎有类似的问题,但这似乎对我不起作用:-(你救了我的命我花了3天时间在谷歌上搜索和重新安装东西,直到这个解决方案才奏效。谢谢!NIKUNJ,请不要加上“谢谢”作为答案。它们实际上不会提供问题的答案,并且会被其未来的访问者视为噪音。一旦你足够多,你将获得你喜欢的特权。这样,问题的未来访问者将看到该答案的更高票数,并且回答者也将获得声誉点数。请参阅。你的帖子提供只说“谢谢”的强烈印象,这将不会被认为是一个有价值的贡献。但我认为您可能已经尝试实际添加了一些内容…如果是这样的话,请重新措辞以使其更加明显。否则,请删除。MS-DOS脚本如何解决在Macintosh上运行iOS模拟器的问题?因为此问题是运行mac的结果运行在windows机器(虚拟mac)上的VBox上的操作系统。更改上述值似乎可以解决此问题