Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update Xcode 10.1 to 10.2 on High Sierra 10.13.6

I'm trying to update Xcode 10.1 to 10.2 on my High Sierra 10.13.6 version.

The App Store window shows the update button, but the problem is after hitting that button, the circle on the upper-left corner is just rotating for hours and nothing else happens!

enter image description here

Since the difference between the two versions is not that huge, the update naturally must be downloaded and installed after some time, but in effect it's not that way!

How to solve that issue, please?

like image 713
Franky Avatar asked Apr 08 '19 17:04

Franky


People also ask

What version of Xcode works with macOS 10.13 6?

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

Can I install Xcode 11 on High Sierra?

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

How do I update Xcode on Mac?

Downloading and updating XcodeThe current release of Xcode is available as a free download from the Mac App Store. The Mac App Store will notify you when an update is available or you can have macOS update automatically as it becomes available.


3 Answers

I am using Xcode10.2 on High Sierra 10.13.6, and can build several projects for my iPhone 5s and 6s Plus which working on iOS12.2. The process is similar to Damnum’s.

  1. Change the name of working Xcode like Xcode10.1.
  2. Download Xcode 10.2 and copy it into Applications folder. (The name is of course Xcode.)
  3. Edit Xcode.app/Contents/Info.plist and change the Minimum System Version to 10.13.6 with Xcode10.1
  4. Edit Xcode.app/Contents/Applications/FileMerge/Contents/Info.plist and change the Minimum System Version to 10.13.6 with Xcode10.1
  5. Edit Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/Info.plist and change the Minimum System Version to 10.13 with Xcode10.1
  6. Launch Xcode (it is 10.2) and install the rest of items.
  7. Now you can use iOS12.2 features in the Xcode.

I tested my own projects and several sample projects from iOS 12 App Development Essentials by Neil Smyth. All of them work fine on my devises including camera app.

like image 89
Tripod Avatar answered Sep 23 '22 05:09

Tripod


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 one from 10.1
like image 25
Damnum Avatar answered Sep 24 '22 05:09

Damnum


The difference between the two versions is not that huge for example Swift 5.0 allows to build projects without the embedded Swift Libraries.

Xcode 10.2 doesn't run in High Sierra. It requires macOS 10.14.3

like image 24
vadian Avatar answered Sep 20 '22 05:09

vadian