更新到 Xcode 7.3 后,我无法在 iOS 模拟器中运行我的应用程序。
每次尝试我都会收到以下错误消息:
DTAssetProviderService 无法使用模拟器“iPhone ...”启动 DTXConnection。检查系统日志是否有错误。
我检查了以下Apple 开发者论坛主题,但没有提供任何解决方案。突然,当我从模拟器中清理并删除旧应用程序并重建时,它工作正常。这个问题不仅是第一次。
有人可以详细解释这个问题吗?
3 月 24 日 10:18:38 CoreSimulatorService[521]:com.apple.CoreSimulator.CoreSimulatorService 209.19 开始。
3 月 24 日 10:18:44 CoreSimulatorService[521]:请求的手表不可用于配对。假设它有能力。
3 月 24 日 10:18:44 CoreSimulatorService[521]:请求的电话不可用于配对。假设它有能力。
3 月 24 日 10:18:44 CoreSimulatorService[521]:请求的手表不可用于配对。假设它有能力。
3 月 24 日 10:18:44 CoreSimulatorService[521]:请求的电话不可用于配对。假设它有能力。
3 月 24 日 10:18:45 com.apple.dt.Xcode[455] :请求的手表不可用于配对。假设它有能力。
3 月 24 日 10:18:45 com.apple.dt.Xcode[455] :请求的电话不可用于配对。假设它有能力。
3 月 24 日 10:18:45 com.apple.dt.Xcode[455] :请求的手表不可用于配对。假设它有能力。
3 月 24 日 10:18:45 com.apple.dt.Xcode[455] :请求的电话不可用于配对。假设它有能力。
3 月 24 日 11:02:29 com.apple.iphonesimulator[712]:请求的手表不可用于配对。假设它有能力。
3 月 24 日 11:02:29 com.apple.iphonesimulator[712] :请求的电话不可用于配对。假设它有能力。
3 月 24 日 11:02:29 com.apple.iphonesimulator[712]:请求的手表不可用于配对。假设它有能力。
3 月 24 日 11:02:29 com.apple.iphonesimulator[712] :请求的电话不可用于配对。假设它有能力。3 月 24 日 11:02:31 CoreSimulatorService[521]:无法注册服务 com.apple.coreservices.lsuseractivity.simulatorsupport:无法查找 com.apple.coreservices.lsuseractivity.simulatorsupport:0x44e
我对这个问题的猜测:我不确定,但我的猜测是当我更新 Xcode 时,iOS 版本更新到 9.3,但是当安装旧版本(9.2)时,该应用程序已经安装在 iPhone 6 Plus 模拟器中。因此,当我尝试使用 iOS 9.3 运行应用程序时,我只配置了 iOS 9.2,但由于不兼容,它崩溃了。