Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 4 not recognizing iPhone as provisioned device

Tags:

xcode

iphone

My iPhone has a green dot in the organizer, runs 4.2.1, and I just updated Xcode to 4.0.

When I try to build and run my project on the iPhone, it says that no provisioned devices are connected. It worked in the previous version of Xcode.

I have ensured that the provisioning is up-to-date, and that the project settings have the correct provisioning file selected. I also deleted the Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 to be sure that's not it.

I would appreciate any help. Thanks!

like image 849
James Skidmore Avatar asked Mar 13 '11 23:03

James Skidmore


2 Answers

Go to Build Settings of project, and select All in upper right corner, then make sure that the iOS Deployment Target is 4.2(or what ever your device has on it). Then build, it should work.

like image 109
tiltem Avatar answered Nov 15 '22 06:11

tiltem


Make sure you have set the device to "Use in Development" in Organiser.

like image 35
daihovey Avatar answered Nov 15 '22 08:11

daihovey