Install SDK 8.0 simulator manually in Xcode7.0

It is known that Xcode 7.0 no longer supports the iOS 8 simulator. Therefore, when I go to the boot settings, I find only the iOS 8.1 simulator and above. But I really need to test my code on iOS 8.0, and I don’t have a device that supports this version, so I need to do this from the simulator.

I downloaded Xcode 6.0.1 (to extract the iOS 8.0 simulator) and installed it in my applications, but I could not start Xcode (since it cannot be run on El Capitan).

So what I tried to do is copy / paste the iOS 8.0 simulator:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk

and

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS 8.0.simruntime

from Xcode 6.0.1 to Xcode 7.0 and restarted mac

Then I will open Xcode 7.0 again and go to Window -> Devices and enter the following:

enter image description here

Then I click "Create", but after creating it, it displays as iOS 9.0, and as soon as I run the code on this simulator, it reads the OS as 9.0, not 8.0

enter image description here

Can someone help me solve this problem?

+2
source share
2 answers

If you can’t add the iOS 8 simulator, alternatively try running this application on an iOS 8 device with the developer using xcode. In this way, it will also help to select most of the LOC, where it actually crashes. In addition, for a random crash, you may need to analyze the application's memory management using the Tools tool (but this also depends on the cause of the crash).

0
source

you can download it from xcode prefrences β†’ Downloads enter image description here

manually you can get it from the old xcode path (/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator) and insert a new xcode with the same path.

0
source

Source: https://habr.com/ru/post/1237656/


All Articles