I know that there are a lot of iPhone 3G / xcode4.2 questions on here but mine is strange;
I have XCode 4.2 w/iOS 5 SDK on my Snow Leopard macbook. I already tried changing the architectures and the required device capabilities, but the real problem is my iPhone will not provision.
In XCode i get the error ” Xcode has encountered an unexpected error (0xC002)
No such file or directory, at ‘/SourceCache/DTDeviceKit/DTDeviceKit-867/DTDeviceKit/DTDeviceKit_Utilities.m:864’”
According to other questions I installed iOS 3.0/3.2.2 and iOS 4.0-4.1 debugging support but even after rebooting I still get the aforementioned error.
a screenshot of organizer/error http://img717.imageshack.us/img717/3960/screenshot20111227at913.png
Is there anything I’m missing?
If it would make a difference (i doubt) I’m doing jailbreak development. However I had the same error before I tried JB dev.
Thanks!
Your question is similar to this one: Jailbroken iPhone 3G with iOS 4.2.1 can't be debugged with XCode
You need a non-jailbroken device to collect debug symbols. After this you can use your device without any problems.