xcode6.0.1 无法启动 ios8 模拟器 [英] xcode6.0.1 not able to start ios8 simulator

查看:32
本文介绍了xcode6.0.1 无法启动 ios8 模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

xcode 更新到 6.0.1,ios 8 模拟器无法启动.

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

这是我的系统崩溃报告:

<前>进程:launchd_sim [1385]路径:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/sbin/launchd_sim标识符:launchd_sim版本:2.0.0 (560.1.3)代码类型:X86-64(本机)父进程:launchd [155]负责人:launchd_sim [1385]用户名:501日期/时间:2014-09-26 11:11:52.309 +0100操作系统版本:Mac OS X 10.9.5 (13F34)报告版本:11匿名 UUID:048D18A1-2364-DAD1-67B6-1BF02E5CF5D5崩溃的线程:0异常类型:EXC_BAD_ACCESS (SIGSEGV)异常代码:KERN_INVALID_ADDRESS 在 0x0000000000000000接近 0 的 VM 区域:-->__TEXT 0000000102c24000-0000000102c5d000 [228K] r-x/r-x SM=COW/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulatorslaunch.sdk应用特定信息:dyld:启动,加载依赖库DYLD_INSERT_LIBRARIES=/usr/lib/libimckit.dylibDYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdkDYLD_FALLBACK_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/libDYLD_FALLBACK_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/FrameworksDYLD_SHARED_REGION=避免

解决方案

您在 ~/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"行,将其删除、保存并重新启动系统.

Updated xcode to 6.0.1, ios 8 simulator unable to boot.

I tried in xcode preferences, under download tap, I can only see ios7 simulator and ios 7.1 simulator, no ios 8 simulator available to download from there, I was able to download ios 7 or 7.1 simulator and run test app on simulator, but can't find the way how to make it work with ios8 simulator, does anyone as any ideas?:(

here is my system crash report:

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

解决方案

Do you have any crash logs (eg: launchd_sim crashes) in ~/Library/Logs/DiagnosticReports? If so, can you provide one of them?

Is there anything interesting in ~/Library/Logs/CoreSimulator/CoreSimulator.log?


The issue is that you have DYLD_INSERT_LIBRARIES=/usr/lib/libimckit.dylib in your environment. What is this for?

The iOS 8 simulator will not work on OS X Mavericks if you try to inject host dylibs into the process via DYLD_INSERT_LIBRARIES. OS X Yosemite has software changes that will work around this problem and just log the issue rather than crashing.

I suggest that you either upgrade to OS X Yosemite or simply unset DYLD_INSERT_LIBRARIES (and/or uninstall the rest of the software that is associated with libimckit.dylib).

To make sure that DYLD_INSERT_LIBRARIES is not set, edit /etc/launchd.conf or $HOME/.launchd.conf (eg: sudo nano -w /etc/launchd.conf). Look for a relevant 'setenv' line, delete it, save, and reboot your system.

这篇关于xcode6.0.1 无法启动 ios8 模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆