swift – 游乐场出现错误:“无法找到所选运行目的地的执行服务”

swift – 游乐场出现错误:“无法找到所选运行目的地的执行服务”,第1张

概述迁移到XCode 7.1后,我无法使用iOS / tvOS平台的playground。只有OS X工作。最简单的 *** 场产生错误信息: Unable to find execution service for selected run destination 我怀疑它与XCode没有找到正确的模拟器,但我不知道在哪里和如何配置它。 我在现有的项目中尝试 *** 场,以及刚刚从启动屏幕新创建的项目。 任何想法可 迁移到XCode 7.1后,我无法使用iOS / tvOS平台的playground。只有OS X工作。最简单的 *** 场产生错误信息:

Unable to find execution service for selected run destination

我怀疑它与XCode没有找到正确的模拟器,但我不知道在哪里和如何配置它。

我在现有的项目中尝试 *** 场,以及刚刚从启动屏幕新创建的项目。

任何想法可能是错的?

更新:

检查控制台有更多的洞察力,但仍然不清楚如何修复:

24/10/2015 10:16:10,193 lsd[279]: LaunchServices: Could not store lsd-IDentifIErs file at /private/var/db/lsd/com.apple.lsdschemes.pList24/10/2015 10:16:10,212 com.apple.usbmuxd[82]: LOCKDOWN_V2_BONJOUR_SERVICE_name is _apple-mobdev2._tcp,8de107c024/10/2015 10:16:10,248 Xcode[819]:  DeveloperPortal: Using pre-existing current store at URL (file:///Users/courteouselk/library/Developer/Xcode/DeveloperPortal%207.1.db).24/10/2015 10:16:10,381 com.apple.CoreSimulator.CoreSimulatorService[461]: Requested phone is is not available for pairing.  Assuming it has the capability.24/10/2015 10:16:10,384 com.apple.CoreSimulator.CoreSimulatorService[461]: Requested phone is is not available for pairing.  Assuming it has the capability.24/10/2015 10:16:12,929 com.apple.usbmuxd[82]: _SendAttachNotification Device 80:ea:96:04:a5:da@fe80::82ea:96ff:fe04:a5da._apple-mobdev2._tcp.local. has already appeared on interface 4. Suppressing duplicate attach notification.24/10/2015 10:16:13,311 GPUToolsAgent[832]: Mac Agent inited !!!24/10/2015 10:16:14,287 Xcode[819]: <DYMobileDevice: 0x7ffbfd6b6320>: Failed to acquire service transport reservation: Error Domain=DYAMDErrorDomain Code=-402653150 "(null)"24/10/2015 10:16:14,447 Xcode[819]: [MT] IDEPlaygroundEditor: Error encountered attempting to run playground: Error Domain=IDEPlaygroundErrorDomain Code=1 "Unable to find execution service for selected run destination." UserInfo={NSLocalizedDescription=Unable to find execution service for selected run destination.}24/10/2015 10:16:19,672 mDWorker[255]: LaunchServices: received xpc_ERROR_CONNECTION_INTERRUPTED trying to map database24/10/2015 10:16:19,672 mDWorker[255]: LaunchServices: Database mapPing Failed with result -10822,retrying24/10/2015 10:16:19,673 mDWorker[255]: LaunchServices: received xpc_ERROR_CONNECTION_INTERRUPTED trying to map database24/10/2015 10:16:19,673 mDWorker[255]: LaunchServices: Database mapPing Failed with result -10822,674 mDWorker[255]: LaunchServices: received xpc_ERROR_CONNECTION_INTERRUPTED trying to map database24/10/2015 10:16:19,674 mDWorker[255]: LaunchServices: Database mapPing Failed with result -10822,675 mDWorker[255]: LaunchServices: received xpc_ERROR_CONNECTION_INTERRUPTED trying to map database24/10/2015 10:16:20,497 Xcode[819]: CompanionProxy: _SocketReadCallback:128 (0x0x700000117000): Failed to receive response from AMDevice 0x7ffbfe60cad0 {UDID = e4bfce5e11be0bcf730ada45b4d6ae81f1abdb01,device ID = 23,FullServicename = 80:ea:96:04:a5:da@fe80::82ea:96ff:fe04:a5da._apple-mobdev2._tcp.local.}: 0xe800008424/10/2015 10:16:20,497 Xcode[819]: CompanionProxy: _SocketReadCallback:200 (0x0x700000117000): Stopped Listening for paired devices from AMDevice 0x7ffbfe60cad0 {UDID = e4bfce5e11be0bcf730ada45b4d6ae81f1abdb01,FullServicename = 80:ea:96:04:a5:da@fe80::82ea:96ff:fe04:a5da._apple-mobdev2._tcp.local.}: 0xe8000084
可能有一个更快的解决方案:

检查您在Xcode中的设备中是否具有iPad Pro模拟器。如果没有 – 通过添加模拟器选项添加它。

正如有些人在评论中指出,您可能还需要重新启动Xcode或重新打开 *** 场。

要添加模拟器,请转到设备(窗口>设备)。单击窗口左下角的按钮,单击“添加模拟器”,然后从下拉列表中选择适当的“设备类型”,然后单击“创建”。

总结

以上是内存溢出为你收集整理的swift – 游乐场出现错误:“无法找到所选运行目的地的执行服务”全部内容,希望文章能够帮你解决swift – 游乐场出现错误:“无法找到所选运行目的地的执行服务”所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1055294.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-25
下一篇 2022-05-25

发表评论

登录后才能评论

评论列表(0条)

保存