This question already has an answer here:
这个问题已经有了答案:
- Xcode beta 6 iOS 8: Simulator not working 19 answers
- Xcode测试版6 ios8:模拟器不工作19个答案。
Updated xcode to 6.0.1, ios 8 simulator unable to boot.
将xcode更新为6.0.1,无法启动ios 8模拟器。
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?:(
在xcode偏好,我试着下载,我只能看到ios7模拟器和ios 7.1模拟器,没有ios 8模拟器可供下载,我能够下载ios 7或7.1模拟器,模拟器上运行测试程序,但找不到如何使它的工作方式与ios8模拟器,有人任何想法吗?:(
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
2 个解决方案
#1
0
Do you have any crash logs (eg: launchd_sim crashes) in ~/Library/Logs/DiagnosticReports? If so, can you provide one of them?
您是否在~/库/日志/诊断报告中有任何崩溃日志(例如:launchd_sim崩溃)?如果是,你能提供其中之一吗?
Is there anything interesting in ~/Library/Logs/CoreSimulator/CoreSimulator.log?
有什么有趣的东西在~/图书馆/日志/CoreSimulator/CoreSimulator.log?
The issue is that you have DYLD_INSERT_LIBRARIES=/usr/lib/libimckit.dylib in your environment. What is this for?
问题是您有DYLD_INSERT_LIBRARIES=/usr/lib/libimckit。dylib在您的环境中。这是什么?
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.
如果您试图通过DYLD_INSERT_LIBRARIES将主机dylibs注入到进程中,那么ios8模拟器将无法在OS X Mavericks上运行。OS X Yosemite有软件修改,可以解决这个问题,只是记录问题而不是崩溃。
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).
我建议您要么升级到OS X Yosemite,要么干脆不设置DYLD_INSERT_LIBRARIES(以及/或卸载与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.
为了确保DYLD_INSERT_LIBRARIES没有设置,编辑/etc/launchd。conf或$ HOME / .launchd。conf(如sudo nano -w /etc/launchd.conf)。查找相关的“setenv”行,删除它,保存并重新启动系统。
#2
0
Tyr going to the Window menu and selecting 'Devices'. In the window that appears there is a '+' button at the bottom left. You can use this to add more simulator devices hopefully including the iOS 8 ones.
Tyr进入窗口菜单并选择“设备”。在窗口中显示左下角有一个“+”按钮。你可以使用它添加更多的模拟器设备,希望包括iOS 8。
#1
0
Do you have any crash logs (eg: launchd_sim crashes) in ~/Library/Logs/DiagnosticReports? If so, can you provide one of them?
您是否在~/库/日志/诊断报告中有任何崩溃日志(例如:launchd_sim崩溃)?如果是,你能提供其中之一吗?
Is there anything interesting in ~/Library/Logs/CoreSimulator/CoreSimulator.log?
有什么有趣的东西在~/图书馆/日志/CoreSimulator/CoreSimulator.log?
The issue is that you have DYLD_INSERT_LIBRARIES=/usr/lib/libimckit.dylib in your environment. What is this for?
问题是您有DYLD_INSERT_LIBRARIES=/usr/lib/libimckit。dylib在您的环境中。这是什么?
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.
如果您试图通过DYLD_INSERT_LIBRARIES将主机dylibs注入到进程中,那么ios8模拟器将无法在OS X Mavericks上运行。OS X Yosemite有软件修改,可以解决这个问题,只是记录问题而不是崩溃。
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).
我建议您要么升级到OS X Yosemite,要么干脆不设置DYLD_INSERT_LIBRARIES(以及/或卸载与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.
为了确保DYLD_INSERT_LIBRARIES没有设置,编辑/etc/launchd。conf或$ HOME / .launchd。conf(如sudo nano -w /etc/launchd.conf)。查找相关的“setenv”行,删除它,保存并重新启动系统。
#2
0
Tyr going to the Window menu and selecting 'Devices'. In the window that appears there is a '+' button at the bottom left. You can use this to add more simulator devices hopefully including the iOS 8 ones.
Tyr进入窗口菜单并选择“设备”。在窗口中显示左下角有一个“+”按钮。你可以使用它添加更多的模拟器设备,希望包括iOS 8。