简体   繁体   中英

How to get new iOS SDK in Xcode 9.2?

My app patch binary was just rejected by Apple and crash logs show that it was tested against iOS 11.2.5, but my latest simulator is 11.2. All of my local UI Tests and Unit Tests passed.

I'd like to test and fix this, but I cannot get iOS 11.2.5 simulators. The traditional approach is to go to devices and download new simulators in Xcode. However, even my most recent simulators (11.2) do not show up here. And no amount of "Check and Install" makes 11.2.5 appear as a choice. 下载模拟器画面

Please help. Here is what I have tried.

  • I tried relaunching Xcode and restarting my mac

  • I tried to follow the advice from Hacker Noon - Manually install iOS Simulators . I downloaded the iOS 11.2.5 builds for iPhone X and iPad Air2. My downloaded files are .ipsw (which keeps trying to open in iTunes) but even after moving the downloaded files to the cache, they do not show up in Xcode.

  • I tried updating my os. I was running Sierra. Now I am running High Sierra, new XCode tools were downloaded automatically on launch. However, no new simulators.

  • I also went back to developer.apple to look for a whole 11.2.5 download and could not find one. On the main developer download page the only whole download is 11.3 beta. Searching on the See More Downloads is empty for "ios 11.2.5" and just "11.2.5"

If you're using Xcode 9.2 you have installed the SDK for iOS 11.2 already. You can prove that by opening System Preferences -> General -> About in the simulator. Thus, Xcode will not display n item for downloading it. The SDKs are also only for minor releases. There are no SDKs for different patch versions.

If you actually have a bug that occurs in this version, you should get a corresponding device and test it for it. I suspect, however, that this is due to the differences between simulator and real hardware.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM