开发者

xcode 3.2.4 (sdk 4.1) unable to install to device

开发者 https://www.devze.com 2023-01-15 07:42 出处:网络
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

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


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.


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?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消