Add Simulators support to previous XCODE versions

Your current issue is that you are on a previous version of Swift ABI and you can’t migrate your code to the latest. Therefore, you are stuck with XCODE 7.x (as an example) however you would like to test your code on the latest simulator to guarantee forward compatibility.
Good news, you can do it.
I keep all versions of Xcode and I rename after installed so I can keep track of each version.
Here is how:
  1. Assuming you extract Xcode to Applications/
  2. cp -r Xcode-v<higher-version-here>.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/<YOUR-VERSION-HERE>) /Applications/Xcode<lower-version-here>.app/Contents/Developer/Platforms/AppleTVOS.platform
Alternatively, if you don’t want to copy everything, which duplicates files on your system, you can use a soft link, like this:
sudo ln -s <path1> <path2>
That will do the trick.
If the the daemon used by the simulator still running (even if you killed everything) you might use this trick to force its reboot:
launchctl remove || true


Popular posts from this blog

Bring Boxee Box back to life

Postgres on Synology

Zen-inification - The art of decluttering