Let's say hypothetically you plug in your iPhone to charge on your friend's laptop. Your friend happens to be an iPhone developer and have Xcode open, and so immediately Xcode asks whether you want to use this iPhone for development. Of course you don't at the time...so you click the No button. Then, a few days later, your friend (who is very poor and can't afford an iPhone of his own) asks to beta test his fancy new iPhone application on your iPhone. How will your friend ever get Xcode to recognize this same iPhone again and use it for development?
From a terminal window:
defaults delete com.apple.Xcode XCKnownRemoteComputers
Be forewarned: this completely clears the list of devices that Xcode already knows about.
Posted by todd at March 26, 2008 09:58 AM