Programming/Non programming

Thursday, April 25, 2013

Make iOS 6.x devices to detect in Xcode 4.x in Snow Leopard

Hi,

The issue basically have been found is, we can't get the iPhone or iPad 6.x devices connected actively in Xcode 4.x versions in Snow Leopard 10.6.x version Mac's. These version devices won't be able to get detected in Xcode 4.x versions in Snow Leopard.

The actual solution would be, we have to download respective Xcode 4.5.x versions and install on the Mac and get these devices detected.

To reduce all these procedures every time to download and install, the below approach would be easier and way of hack to get such version iOS 6.x devices can be detected in Xcode older 4.x version or older.

Shortcut procedure would be,

1. Go to any machine where Xcode 4.5 or 4.6 installed
    (or)
    Download Xcode 4.5 ot 4.6 version setup (.DMG) from Downloads for Apple Developers.

2. If you find .dmg setup, run it, it will be open Xcode.app in an view

3. Right click this xcode.app and choose 'Show Package Contents'

4. Go to this path and copy
     Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/6.x (9B176)

[Here, it is mentioned '/DeviceSupport/6.x', you can choose whichever 6.x version you want]

5. Place (paste) these files in this path:  /Developer/Platforms/iPhoneOS.platform/DeviceSupport
 on your machine directry.

6.  Also, copy 'version.plist' from "Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform"  to your Snow Leopard machine directory in the same path.

7. Also, copy 6.x SDK folder and paste it in current system same SDK path. For ex: Copy sdk path from,  Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk and paste in your machine in the same path

8. Re-start Xcode on your Snow Leopard machine

9. Connect your iOS 6.x version device

You can see Xcode lower version 4.2 like that, will be able to detect iOS 6.x device and show in your Xcode. Let me know if any issues, i'll sort it out!

Cheers!

Prabakar.