问题
I recently installed XCode 3.2.4 to my machine. This comes with iOS SDK 4.1. Annoyingly I can no longer install my app to any iPhone. The option to tick "Device" in the drop down for where to install to is present, but when I click it, it doesn't become ticked. Strangely I can only run my app on the simulator, despite the option to select the simulator not being present.
Does anyone know how to fix this or what might be the problem?
Thanks in advance,
Tristan
回答1:
Alrighty, I'm answering my own question.
What I didn't realise is that there's seperate build configurations depending on wether you click 'info' while selecting your project's title or the project's Target. I had set the project one to SDK 4.1 but not the Target one.
回答2:
Did you set the iOS Deployment Target in your Debug or Release Build Settings to match the OS version on your iPhone? Did you set the Targeted Device Family to iPhone?
回答3:
All these questions just remind me that something is very confusing in xCode. And don't let me start talking about all the provisioning misunderstandings
来源:https://stackoverflow.com/questions/3682071/xcode-3-2-4-sdk-4-1-unable-to-install-to-device