PDA

View Full Version : [XCode][Solved] crashes when iPhone is plugged in


FunkySquid
03-08-2008, 08:02 PM
Hey all,

So I decided I want to do some iPhone development with the Official SDK. I'm a PC guy, so I picked up my first Mac Mini last night.

I've got the iPhone SDK installed. However, when I have my iPhone (T-Mobile, 1.1.3, hacked with ZiPhone) plugged in, Xcode crashes. Xcode crashes on startup if the phone is already plugged in.

Since I'm new to Macs, I'm not even sure where to start fixing this problem. Where can I find the crash logs for Xcode?

It won't do me much good to try to develop for the iPhone if I can even plug it in. :(

Any ideas?

FunkySquid
03-08-2008, 08:12 PM
Ok, I found a little more information. I'm getting the following error:

Dyld Error Message:
Symbol not found: _AMDeviceUSBDeviceID
Referenced from: /Developer/Platforms/Aspen.platform/Developer/Library/Xcode/Plug-ins/AspenSupport.xcodeplugin/Contents/MacOS/AspenSupport
Expected in: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice

Any help? Can someone tell me the steps to uninstall Xcode so I can reinstall and make sure I've got all the libraries installed properly?

Thanks!

FunkySquid
03-08-2008, 08:19 PM
OK, I'm just talking to myself now, but I figured I'd add this info, in case anyone else runs into the same problem. :o

At the very end of the SDK readme, there is a line "The Xcode IDE will crash if iTunes 7.6.1 is installed after the iPhone SDK". Which is what I did (I installed the SDK as soon as I booted up the Mac, then later did the software updates). The same readme has uninstall instructions, so I'm going to reinstall the SDK, which should hopefully fix my problem.

If not, I'll be back to reply to myself again. :p

the_snitch
04-08-2008, 08:38 AM
yep xcode is crashing for my hacked iphone also. maybe i'll try out the latest release of xcode (V2 of the iphone SDK), but its so large I can't be bothered downloading at this point.

anyone found a workaround?

.max
04-09-2008, 12:33 PM
I had the same problem. My solution was to re-install iPhoneSystemComponents.pkg (or AspenSystemComponenets if you have sdk1) from SDK Packages folder.
SDK and iTunes have different USB drivers for iPhone hence the problem.