Build iOS12.2 application with Xcode 10.2.1 on High Sierra mac

By | 2019年4月22日

Build an iOS12.2 application with Xcode 10.2 on High Sierra

I am using NVIDIA GPU for Machine Learning on old Mac Pro 2010. However if I update my mac to Mojave, no NVIDIA driver is available for the present.

But I want use the Mac for the latest iOS development, and Xcode 10.2+ on my High Sierra mac. I found a way to use Xcode 10.2.1 on High Sierra. I’d like to share the way.

You need a developper account for download Xcode 10.2.1. You can find it at the link More Downloads for Apple Developers.

After download it, change the directory name for Xcode 10.1 to Xcode10.1 etc.

You need to modify three info.plist wtih Xcode 10.1. They are in the following folders.

  1. /Volumes/your system drive/Applications/
  2. /Volumes/your system drive/Applications/
  3. /Volumes/RAIDZero/Applications/

They all have ‘Minimum system version,’ each value is 10.14.3 or 10.4(for Simulator). Modify them to 10.13.6 or 10.3(for simulator).

Then boot the Xcode 10.2.1. You will be asked to download other tools. Of course, do that.

You have some iOS projects can be used for a test. Check if the project target version can be up to 12.2. Build the project and run it on a simulator.

When finished checking if the project work on the simulator, check the version of the simulator’s verision is 12.2.

Then connect your iOS device to your High Sierra mac, choose the device as the target for build. And check the project works properly.

In my environment, iPhone 5s with iOS 12.2 works well.

I don’t know whether Apple will accept the app built with High Sierra mac. If not, you need a Mojeva mac to pass.

I wrote this way on the Stack Overflow as Tripod.

Leave a Reply