xcode6.0.1无法启动ios8模拟器

时间:2014-09-21 17:50:24

标签: xcode

将xcode更新为6.0.1,ios 8模拟器无法启动。

我尝试了xcode首选项,在下载点按下,我只能看到ios7模拟器和ios 7.1模拟器,没有ios 8模拟器可以从那里下载,我能够下载ios 7或7.1模拟器并在模拟器上运行测试应用程序,但无法找到如何使其与ios8模拟器一起工作的方式,是否有人作为任何想法?:(

这是我的系统崩溃报告:

Process:         launchd_sim [1385]
Path:            /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/sbin/launchd_sim
Identifier:      launchd_sim
Version:         2.0.0 (560.1.3)
Code Type:       X86-64 (Native)
Parent Process:  launchd [155]
Responsible:     launchd_sim [1385]
User ID:         501

Date/Time:       2014-09-26 11:11:52.309 +0100
OS Version:      Mac OS X 10.9.5 (13F34)
Report Version:  11
Anonymous UUID:  048D18A1-2364-DAD1-67B6-1BF02E5CF5D5


Crashed Thread:  0

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
--> 
    __TEXT                 0000000102c24000-0000000102c5d000 [  228K] r-x/r-x SM=COW  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/sbin/launchd_sim

Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_INSERT_LIBRARIES=/usr/lib/libimckit.dylib
DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk
DYLD_FALLBACK_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib
DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks
DYLD_SHARED_REGION=avoid

2 个答案:

答案 0 :(得分:0)

Tyr进入Window菜单并选择' Devices'。在出现的窗口中有一个' +'左下角的按钮。您可以使用它来添加更多模拟器设备,包括iOS 8。

答案 1 :(得分:0)

在〜/ Library / Logs / DiagnosticReports中是否有任何崩溃日志(例如:launchd_sim崩溃)?如果是这样,你能提供其中一个吗?

〜/ Library / Logs / CoreSimulator / CoreSimulator.log中有什么有趣的东西吗?


问题是您的环境中有DYLD_INSERT_LIBRARIES = / usr / lib / libimckit.dylib。这是为了什么?

如果您尝试通过DYLD_INSERT_LIBRARIES将主机dylib注入进程,则iOS 8模拟器将无法在OS X Mavericks上运行。 OS X Yosemite具有可以解决此问题的软件更改,只记录问题而不是崩溃。

我建议你升级到OS X Yosemite或者只是取消设置DYLD_INSERT_LIBRARIES(和/或卸载与libimckit.dylib相关的其他软件)。

要确保未设置DYLD_INSERT_LIBRARIES,请编辑/etc/launchd.conf或$ HOME / .launchd.conf(例如:sudo nano -w /etc/launchd.conf)。寻找相关的“setenv'行,删除,保存和重启系统。