Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to install Xcode 10.2 on High Sierra (10.13.6)?

I recently upgraded iOS in my iPhone device to 12.2 (to provide support of latest versions for my app "Match4app"), and this does not appear to be compatible with Xcode 10.1. Should I update Xcode to 10.2 ?

In my Mac with High Sierra, when I click "Update" for Xcode, 10.2 is not available.

I have found this link: https://support.apple.com/en-us/HT209606

With this comment: "Xcode 10.2 Released March 25, 2019 Kernel Available for: macOS High Sierra 10.13.6 or later"

How can I install Xcode 10.2 with High Sierra in order to test iOS 12.2 ?

Note: Upgrading to Mojave or Catalina is NOT an option in my old Mac (though I will try to install the macOS Catalina Patcher soon (http://dosdude1.com/catalina/) ).

like image 576
Pablo Alfonso Avatar asked Apr 09 '19 15:04

Pablo Alfonso


People also ask

What version of Xcode works with High Sierra?

You should be on macOS High Sierra (10.13. 4+) and have Xcode 9.4+.

Does Xcode 10.1 Work on High Sierra?

If you're using Mac OS High Sierra, you are required to use Xcode 10.1 for compatibility.

Can I run Xcode 11 on High Sierra?

Short answer: No. Xcode 11.3 requires a Mac running macOS Mojave 10.14.


2 Answers

Yes it's possible. Follow these steps:

  1. Download Xcode 10.2 via this link (you need to be signed in with your Apple Id): https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_10.2/Xcode_10.2.xip and install it
  2. Edit Xcode.app/Contents/Info.plist and change the Minimum System Version to 10.13.6
  3. Do the same for Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/Info.plist (might require a restart of Xcode and/or Mac OS to make it open the simulator on run)
  4. Replace Xcode.app/Contents/Developer/usr/bin/xcodebuild with the one from 10.1 (or another version you have currently installed, such as 10.0).
  5. If there are problems with the simulator, reboot your Mac
like image 162
Damnum Avatar answered Sep 28 '22 01:09

Damnum


You don't need to run Xcode 10.2 for iOS 12.2 support. You just need access to the appropriate folder in DeviceSupport.

A possible solution is

  • Download Xcode 10.2 from a direkt link (not from App Store).
  • Rename it for example to Xcode102.
  • Put it into /Applications. It's possible to have multiple Xcode versions in the same directory.
  • Create a symbolic link in Terminal.app to have access to the 12.2 device support folder in Xcode 10.2

    ln -s /Applications/Xcode102.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.2\ \(16E226\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 

You can move Xcode 10.2 to somewhere else but then you have to adjust the path.

Now Xcode 10.1 supports devices running iOS 12.2

like image 33
vadian Avatar answered Sep 28 '22 00:09

vadian