ios - DTAssetProviderService 无法使用模拟器启动 DTXConnection

标签 ios ios-simulator xcode7.3

更新到 Xcode 7.3 后,我无法在 iOS 模拟器中运行我的应用程序。

每次尝试我都会收到以下错误消息:

DTAssetProviderService could not start DTXConnection with Simulator 'iPhone …'. Check the system log for errors.

我检查了以下 Apple developer forums thread但没有提供任何解决方案。突然间,当我从模拟器中清理并删除旧应用程序并重建时,它工作正常。这个问题不仅是第一次。

Screenshot of quoted error message above.

谁能详细解释一下这个问题?

Mar 24 10:18:38 CoreSimulatorService[521] : com.apple.CoreSimulator.CoreSimulatorService 209.19 starting.
Mar 24 10:18:44 CoreSimulatorService[521] : Requested watch is is not available for pairing. Assuming it has the capability.
Mar 24 10:18:44 CoreSimulatorService[521] : Requested phone is is not available for pairing. Assuming it has the capability.
Mar 24 10:18:44 CoreSimulatorService[521] : Requested watch is is not available for pairing. Assuming it has the capability.
Mar 24 10:18:44 CoreSimulatorService[521] : Requested phone is is not available for pairing. Assuming it has the capability.
Mar 24 10:18:45 com.apple.dt.Xcode[455] : Requested watch is is not available for pairing. Assuming it has the capability.
Mar 24 10:18:45 com.apple.dt.Xcode[455] : Requested phone is is not available for pairing. Assuming it has the capability.
Mar 24 10:18:45 com.apple.dt.Xcode[455] : Requested watch is is not available for pairing. Assuming it has the capability.
Mar 24 10:18:45 com.apple.dt.Xcode[455] : Requested phone is is not available for pairing. Assuming it has the capability.
Mar 24 11:02:29 com.apple.iphonesimulator[712] : Requested watch is is not available for pairing. Assuming it has the capability.
Mar 24 11:02:29 com.apple.iphonesimulator[712] : Requested phone is is not available for pairing. Assuming it has the capability.
Mar 24 11:02:29 com.apple.iphonesimulator[712] : Requested watch is is not available for pairing. Assuming it has the capability.
Mar 24 11:02:29 com.apple.iphonesimulator[712] : Requested phone is is not available for pairing. Assuming it has the capability. Mar 24 11:02:31 CoreSimulatorService[521] : Could not register service com.apple.coreservices.lsuseractivity.simulatorsupport: Failed to lookup com.apple.coreservices.lsuseractivity.simulatorsupport: 0x44e

我对这个问题的猜测:我不确定,但我的猜测是当我更新 Xcode 时,iOS 版本更新到 9.3,但在安装旧版本 (9.2) 时,该应用程序已经安装在 iPhone 6 Plus 模拟器中。因此,当我尝试使用 iOS 9.3 运行该应用程序时,我只配置了 iOS 9.2,由于不兼容,它崩溃了。

最佳答案

杀死模拟器并从 Xcode 重新启动它对我有帮助。

您可能正在使用破坏 Xcode 7.3.1(mac 商店版本)的 macOS Sierra

使用从 Mac 开发人员门户下载的 Xcode 8 beta 或 Xcode 7.3.1.dmg 进行修复 https://developer.apple.com/downloads

Xcode 7.3.1 的直接链接:http://adcdownload.apple.com/Developer_Tools/Xcode_7.3.1/Xcode_7.3.1.dmg

关于ios - DTAssetProviderService 无法使用模拟器启动 DTXConnection,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36200318/

相关文章:

iphone - 我的 iPhone Simulator 3.0 地址簿是空的!

ios - 数据库获取只存在于它自己的函数中

ios - 如果安装了 Mail 则执行功能,如果未安装则打开应用商店页面

ipad - 为什么iOS 5.1 SDK中的iPad模拟器中没有 "Home"按钮?

c# - MonoTouch 应用程序在模拟器中运行,但不在设备上运行

ios - 如何修复 Alamofire 库错误?

swift - Swift 代码中 Obj C 枚举的 Xcode 7.3 未声明类型

ios - 无法附加到 pid : “####” unable to attach

ios - 如何从 CoreData 获取实时值或者知道 iOS Swift 中的值是否与上次获取的值发生变化?

ios - 从引脚注释披露中获取坐标,点击