It was a solution to run iOS 5.1 in Xcode 4.2. Try the same procedure. Try copying it from a previous version of Xcode. Haven't tried it myself. But look if it works.
To get Xcode 4.2 on Snow Leopard to run code on a device running iOS 5.1, you can do this:
If you have another Mac running Lion and Xcode 4.3.1, you can copy files from:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.1 (9B176)
Put the copied files in an equivalent location on your Mac Snow Leopard: maybe
/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Similarly, copy the iOS 5.1 SDK files found in this directory:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
Also copy 'version.plist' from the Lion machine to the iPhoneOS.platform folder on the Snow Leopard machine.
Restart Xcode on the Snow Leopard machine and reconnect the devices and it looks happy enough.
If you do not have access to the machine with Lion and Xcode 4.3.1:
You can get the files from the 4.3.1 DMG, which can be downloaded from Apple here: Download for Apple Developers.
Install DMG, show package contents on Xcode icon and expand it to
/Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
Follow these steps.
You may find it more convenient to use Apple's own ditto method (sudo ditto src dest) in the terminal window to copy folders.
Anil
source share