Skip to main content

Xcode 10.2 on High Sierra – Step by Step

 

Xcode 10.2 on High Sierra – Step by Step

If your question is “How to update Xcode 10.1 to Xcode 10.2.1?” then you have come to the right place!

Recently Apple has updated Xcode to only work with the latest Mac OS Mojave (10.4.4), this means that developers who have old Macs won’t be able to update their OS and develop in Swift 5 using Xcode 10.2.1.

We at CodeWithChris however, found a solution to this dilemma!

Please do note however that this is a workaround. This is not in anyway supported by Apple as they have specifically set the new version of Xcode 10.2.1 for the latest OS only. We found that these steps work for us and we cannot guarantee if it will work for you.

Presenting: Installing/Updating Xcode 10.1 to Xcode to 10.2.1 on Mac OS High Sierra (10.13.6) or Mac OS Mojave (10.4.0)

Please note that we won’t be using the App Store to do this

Step 1:

Open in your browser  https://developer.apple.com/download/more/

Log-in your Apple account and download Xcode 10.2.1 (or whatever is the latest)

Important!: If you don’t have Xcode installed yet also download and install 10.1 (you can do this by exacting the .xim file for Xcode 10.1 – it will automatically uncompress and have Xcode 10.1 installed and ready to use – you may rename the application to Xcode 10.1 to avoid confusion in the next parts)

Xcode direct download from apple developer site

After download completes (for Xcode 10.2.1) extract the .xim file (exacting the file will automatically uncompress and install that version of Xcode ready to use – you may rename the application to Xcode 10.2.1 if you wish as to avoid confusion).

The logo of Xcode should have an error icon on it, you can ignore this for now

Xcode 10.1 vs (Incompatible) Xcode 10.2.1

Step 2:

Open the app directory (right click->show package contents) of your xcode 10.2.1 app

Navigate to Xcode 10.2.1.app/Contents/ and edit the file Info.plist, change the Minimum System Version to 10.13.6 (it should have 10.14.3 originally written on it), make sure to save.

Info.plist contents with the edited Minimum System Version

Additionally, navigate to Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/ edit Info.plist and also change the Minimum System Version to 10.13.6.

Step 3: (This is the reason why we need Xcode 10.1 installed)

Now go to your xcode 10.1 app directory (right click->show package contents) and copy the file xcodebuild located on Xcode 10.1.app/Contents/Developer/usr/bin/

xcodebuild file that needs to be overwritten from Xcode 10.1 folder to Xcode 10.2.1 folder

Then, go to your xcode 10.2.1 app directory and overwrite the file xcodebuild located on Xcode 10.2.1.app/Contents/Developer/usr/bin/

Step 4:


Rename the Xcode Application name once more to remove the cannot run image.


Finally, restart your mac to reflect the changes made to the system.

And your done! you can now use xcode 10.2.1 in your your Mac! You will notice that the error icon is gone and you can now launch and use xcode10.2.1 for app development!

(Now working) Xcode 10.2.1

Comments

Popular posts from this blog

Learn Analog

  The Analog clock: At first, it’s best to focus on ensuring the child understands the significance of each hand: When we start playing with the clock, first of all, we teach the hours, before we start moving the minute hand five minutes at a time: 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55. Once they’ve played with the clock for a while, and understand what each hand indicates, we can teach them quarters; a quarter of an hour, half an hour, and three-quarters of an hour. At the same time, we can show them the time on a digital clock, which helps simplify the exercise since the exact minutes are shown in number form. Since the numbers on an analog clock only go up to 12 and a day consists of 24 hours, when we read the time in analog we need to add  “am”   or  “pm”  to indicate the correct time.

Ball In A Hole

Privacy Policy built the Ball In A Hole app as a Free app. This SERVICE is provided by at no cost and is intended for use as is. This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy. The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Ball In A Hole unless otherwise defined in this Privacy Policy. Information Collection and Use For a better experience, while using our Service, I may require you to provide us with certain personally identifiable information. The information that I request will be retained on

Pro Fruits And Veggies

  Privacy Policy GangadharGoud Gundrathi built the Pro Fruits And Veggies app as a Free app. This SERVICE is provided by GangadharGoud Gundrathi at no cost and is intended for use as is. This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy. The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Pro Fruits And Veggies unless otherwise defined in this Privacy Policy. Information Collection and Use For a better experience, while using our Service, I may require you to provide us with certain personally identifiable information