xcode 3.2.4 (sdk 4.1) unable to install to device

北城以北 提交于 2019-12-02 02:15:49

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!