I´ve found a strange issue with latest XCode 4.2 when trying to deploy my app to an iphone that just upgraded to 5.0.1.
It starts copying the debug info and the prog
I found the following post helpful, although it is kind of dated: https://stackoverflow.com/a/9944892/1031623
The only thing that I had to change is the following:
- Close Xcode
- Go to: "~/Library/Developer/Xcode/iOS DeviceSupport/5.0.1(9A405)/Symbols/System/Library/Caches/com.apple.dyld/"
Note: if you don't have this folder, run Xcode, connect your device, and wait until the error 0xC002 appears in Organizer - the folder should be created by that time.Create 3 empty files there called:
- .copied_dyld_shared_cache_armv7 <== not 6
- .processed_dyld_shared_cache_armv7 <== not 6
- dyld_shared_cache_armv7 <== not 6
Run Xcode and enjoy the light next to your device eventually go green:)
Thank you @Chris Hill, I was running into this on Xcode 4.3.1, but instead of
.../DTDeviceKit-867/...
I was getting .../DTDeviceKit-1197/...
At first I replaced all the files mv -f ~/library/...
and started up Xcode again, I deleted all the files I placed there from your pkg, So I tried with Xcode open, iPhone plugged in; and it worked perfect!
Thanks again
Delete the ~/Library/Developer/XCode/iOS DeviceSupport/5.0.1(9A405)/
folder.
Then connect your device and go to the Organizer.
Xcode should recreate that folder and fill it up with informations from your device.
I have found a potential fix. I tracked the issue down to some files not copying into the ~/Library/Developer/XCode/iOS DeviceSupport/5.0.1(9A405)/
folder. I borrowed a friend's iPad with the 5.0.1 update, and attempted to use his device for development. It worked fine, and I noticed my iOS DeviceSupport/5.0.1(9A405)
folder suddenly had many, many more files. I then connected my problematic iPad and bam, it just worked.
I attempted restoring, recovering, etc. and I could not fix the issue with these methods. I did the OTA update, and so did my friend, so our iPads were updated in exactly the same way. I do not have any explanation of the issue, but at least I have found a workaround.
If you don't have access to another device with the files, here's a zip file of them:
http://www.enemyhideout.com/ios/5.0.1%20(9A405).zip