iOS 8 个模拟器在 XCode 7 beta 中不可见

iOS 8 simulators not visible in XCode 7 beta

我正在使用 Apple 在 WWDC2015 期间发布的 XCode 7 beta 它看起来像 iOS8 里面没有模拟器。 我尝试使用 Xcode > Preferences > Downloads > Components, 下载它们,但它没有列出模拟器。

我在 mac 上也有 Xcode 6.3.2,并且在那里可以看到 iOS8 模拟器。 有什么想法可以让它出现在 Xcode 7 中吗?

-光辉

Xcode 7 beta 1状态的release notes

Simulator

• Xcode 7.0 beta does not support iOS 8.4 and earlier simulator runtimes. (20699475)

首先,找到目标文件:

/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/system/host/liblaunch_sim.dylib

您需要进行备份liblaunch_sim.dylib(以防万一)。 二、复制到目的地(记得备份)

/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib

如果需要的话: iOS8.1.simruntime iOS8.2.simruntime iOS8.3.simruntime 全部完成。

希望对您有所帮助。