Wednesday, September 30, 2015

Deploy to iOS 9 devices with Xcode 6.4

If you like me have a large codebase app developed in Xcode 6.4 with Swift 1.2, with apple’s releasing of iOS 9, you might encounter problem when you run your app in your iOS device upgraded to iOS 9.x.

Likely you will get messing “iOS 9.01 is not supported by Xcode 6.4”

If you get this message, the first option ahead of you would be updating your Xcode  from 6.4 to Xcode 7.0, which also means upgrading form Swift 1.2 to Swift 2.0.  

Well, if you have a large codebase, and is scheduled to release the app to the store soon, this may not be the good time for you. The following is the process to bypass the problem. Thanks to Apple for not providing backwards compatibility.


  1. Upgrade your Xcode 6.4 to Xcode 7
  2. Download Xcode 6.4 from apple developer site again, and install it to different name , (e.g.  XCode2 in my case)
The goal is to make Xcode 6.4 and Xcode 7 available in your Mac, you may not need to Install Xcode 7, but you need Xcode 7 dmg file. You could stay with Xcode 6.4 and download Xcode 7 but do not even install it.

Then right click on the Xcode dmg file select "Show Package Contents” to browse the dmg file. Navigate to /Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport.  copied the folder named 9.0 (13A340) into the same location of your Xcode 6.4 installation folder. Then re-start your Xcode 6.4. 

With that, if you are as lucky as I am, you should be able to run deploy your app to iOS 9 devices with Xcode 6.4

No comments:

Post a Comment