9
votes

I am unable to download and install a iOS 9 simulator in current Xcode.

This is driving me nuts.

The Release notes for Xcode 10.3 say that it supports on-device debugging for iOS 8 and later (https://developer.apple.com/documentation/xcode_release_notes/xcode_10_3_release_notes/). So I suppose that should include iOS 9 simulators?

but it's not available to download for me:

xcode screenshot

What I tried:

2
I think, simulators for iOS 9.3 and earlier were removed because of issue noted in XCode 10.2.1 Release Notes: Simulators for iOS 9.3 and earlier might fail to launch Swift apps with the message: “dyld: Library not loaded: /usr/lib/libauto.dylib”. (49326587) - see developer.apple.com/documentation/xcode_release_notes/… - Alexander Ushakov
yea, i've seen that note as well. it made me think that they still support iOS 9 simulators, as that was just the prior release and there was no deprecation warning in the 10.3 release notes. - Marco
Unfortunately, Apple has long history of silent removing simulators so I’m not surprised - Alexander Ushakov
I didn't know. Thanks. - Marco

2 Answers

10
votes

Apple seems to have a history of removing simulators without announcing it.

Anyway, the solution was quite simple:

  • Download Xcode 10.2.1 and start it
  • Download and install the iOS 9 simulator in preferences
  • Quit and remove Xcode 10.2.1
  • Start Xcode 10.3 and use iOS 9 simulator
0
votes

The Simulator for iOS 9.3 requires a 32-bit environment, so this only works up to macOS 10.14 (Mojave). It das not work for 10.15 and above! One solution on the Intel based Macs is:

  • install and run a Mojave VM
  • install Xcode 10.2.1
  • install under Windows/Devices and Simulators iPhone4S and select iOS 9.3
  • update to Xcode 10.3