XCode 7.0.1显示已下载的iOS 8.4和8.3模拟器。但是iOS 8.4模拟器不能在下拉菜单中创建新的模拟器实例。
iOS 8.3模拟器按预期工作。
我想重新下载这个模拟器,看看是否能使它正常运行。
我发现了XCode 6的类似情况,但这些解决方案似乎不适用于XCode 7.0.1。
iOS 8.3模拟器工作正常。
输出" xcrun simctl list"
== Device Types ==
iPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s)
iPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5)
iPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s)
iPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)
iPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)
iPhone 6s (com.apple.CoreSimulator.SimDeviceType.iPhone-6s)
iPhone 6s Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus)
iPad 2 (com.apple.CoreSimulator.SimDeviceType.iPad-2)
iPad Retina (com.apple.CoreSimulator.SimDeviceType.iPad-Retina)
iPad Air (com.apple.CoreSimulator.SimDeviceType.iPad-Air)
iPad Air 2 (com.apple.CoreSimulator.SimDeviceType.iPad-Air-2)
Apple Watch - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-38mm)
Apple Watch - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-42mm)
== Runtimes ==
iOS 7.1 (7.1 - 11D167) (com.apple.CoreSimulator.SimRuntime.iOS-7-1) (unavailable, failed to open liblaunch_sim.dylib)
iOS 8.1 (8.1 - 12B411) (com.apple.CoreSimulator.SimRuntime.iOS-8-1) (unavailable, failed to open liblaunch_sim.dylib)
iOS 8.2 (8.2 - 12D508) (com.apple.CoreSimulator.SimRuntime.iOS-8-2) (unavailable, failed to open liblaunch_sim.dylib)
iOS 8.3 (8.3 - 12F70) (com.apple.CoreSimulator.SimRuntime.iOS-8-3)
iOS 9.0 (9.0 - 13A340) (com.apple.CoreSimulator.SimRuntime.iOS-9-0)
watchOS 2.0 (2.0 - 13S343) (com.apple.CoreSimulator.SimRuntime.watchOS-2-0)
== Devices ==
-- iOS 7.1 --
-- iOS 8.1 --
Resizable iPad (A4954C9D-8B9A-4F8F-8527-5B3FFF3C38C4) (Shutdown) (unavailable, device type profile not found)
Resizable iPhone (04586F63-3C12-40F7-B5DC-38933ED4C468) (Shutdown) (unavailable, device type profile not found)
-- iOS 8.2 --
Resizable iPad (1A09F236-AE84-47BB-B83F-F9A37DC77A27) (Shutdown) (unavailable, device type profile not found)
Resizable iPhone (AF1776A0-03CF-49F7-B50C-33AAFE49A8C6) (Shutdown) (unavailable, device type profile not found)
-- iOS 8.3 --
Resizable iPad (F8D8DF8E-BA5E-4C56-AEE4-11D7D4B89B6C) (Shutdown) (unavailable, device type profile not found)
Resizable iPhone (DFFC3E78-E340-433E-B06C-0E8F12A46496) (Shutdown) (unavailable, device type profile not found)
-- iOS 9.0 --
iPhone 5 (AB9992C0-D015-4E41-B3EA-04BA7981B609) (Shutdown)
iPad 2 (31F97C8D-7324-4922-ACAC-579C0FDDA8E8) (Booted)
-- watchOS 2.0 --
-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-8-4 --
Resizable iPad (5474A95A-D3A9-43BA-8CD1-C3DCA435C63D) (Shutdown) (unavailable, runtime profile not found)
Resizable iPhone (241D1154-C8CB-4E05-9D7F-C4C14586A42D) (Shutdown) (unavailable, runtime profile not found)
== Device Pairs ==
答案 0 :(得分:3)
在此处发布步骤,以防其他人遇到类似问题,并将此标记为已解答。
/ Library / Developer / CoreSimulator / Profiles / Runtimes中有一个零字节的iOS 8.4.simruntime文件。
删除该文件启用了从首选项/下载屏幕重新下载8.4模拟器的选项。但是,从此操作创建的模拟器报告为8.4,但实际上是9.0
使用XCode / Window / Devices屏幕删除所有模拟器,然后重新启动计算机,以便能够创建正确版本的模拟器。
感谢所有提出想法的人
答案 1 :(得分:0)