It is known that Xcode 7.0 does not support the iOS 8 simulator any more. So when I go to the download preferences I only find the iOS 8.1 simulator and higher. But I really need to test my code on iOS 8.0 and I don't have any device supporting that 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 run 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 the mac
I then re-open Xcode 7.0, and go to Window -> Devices and enter the following:
I then hit "Create", but once created it shows up as iOS 9.0, and once I run the code on that simulator it reads the OS as 9.0 and not 8.0
Can anyone help me solve this please?
If you can't add an iOS 8 simulator, as an alternative, try to run this app on a device running iOS 8 with developer provision using xcode. This way it will also help to pick most of the LOCs where it is actually crashing. Also, for a random crash you might need to analyze app memory management using Instruments tool (but it also depends on crash reason).
you can download it from xcode prefrences -> Downloads
for manually you can get it from old xcode path(/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app/Contents/MacOS/iPhone Simulator) and paste it new xcode with same path.