Kitty
Kitty

Reputation: 75

iOS 9 not supported by Xcode 6.4

The iOS 9 update is not supported by Xcode 6.4 for testing purpose. is there a workaround to connect my device to Xcode for testing. If not can I roll back my update to ios 8.4.1( previous update ).

Upvotes: 3

Views: 5785

Answers (3)

Code Commander
Code Commander

Reputation: 17290

This worked for me to allow me to test my app that was built against the iOS8 SDK (on XCode 6.4) on a physical iOS9 device.

  1. Rename XCode to Xcode 6.4 in the Applications folder
  2. Install Xcode 7 from the downloaded DMG (don't update from the AppStore)
  3. Open XCode 7 and build a test project (it can be an empty iOS9 app) and run it on your physical iOS9 device
  4. Close Xcode 7 and open XCode 6.4
  5. Build your app against the iOS8 SDK and debug on the physical iOS9 device

It seems like debugging on XCode 7 first updates something on the device and then XCode 6.4 can debug properly.

(This is useful for example, if you don't want to migrate your Swift 1.2 code to 2.0 yet)

Upvotes: 3

ProgrammierTier
ProgrammierTier

Reputation: 1420

There is a way to deploy to iOS 9 devices with Xcode 6.4. I ended up doing this because I of course had updated my phone right away, but I did not quite want to go to Xcode 7 due to Swift 2 and the lack of support by coacoapods, yet.

Here is what I did:

  • I downloaded Xcode 7, but did not install it.
  • Instead I browsed inside the dmg file (Show Package Contents on right-click) to /Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport.
  • I then copied the folder named 9.0 (13A340) into the same location of my current installation of Xcode 6.4.
  • Lastly I renamed the existing 8.0 (12A365) folder to just 8.0 - I am not sure if this is necessary.

I am now able to deploy to my phone with iOS9 from Xcode 6.4.

I hope this is helpful to somebody!

Upvotes: 19

James Webster
James Webster

Reputation: 32066

The iOS 9 update is not supported by Xcode 6.4

You've hit the nail on the head. iOS 9 is not supported in versions of Xcode earlier than iOS 7. Just update to continue developing.

Upvotes: 4

Related Questions