I've just finished updating my iPhone 4 from i开发者_如何转开发OS 4.2 to iOS 5. Once I re-opened my xcode project, I no longer see the phone as one of the devices to run on. What steps do I need to take to add the phone back to XCode?
Go to the organizer and, in the devices section, accept the iPhone for development.
You dont need to update the complete Xcode. Instead just download the iOS5 SDK and paste it in your "/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/" directory. Restart the xcode once and you should be able to run your app on the device.
精彩评论