Reputation: 4984
This is the message while trying to run under XCode 4 (it used to work under XCode 3):
No provisioned iOS devices are available. Connect an iOS device or choose an iOS simulator as the destination.
I have profiles for my device for this app... where should I be looking to correct this?
Upvotes: 42
Views: 87716
Reputation: 12272
You're asking where to find it:
In XCode 4 there is a new button - look for the big
"Organizer button"
which is at the TOP RIGHT.
Physically connect your device and then click Devices. It seems that the new "Organizer button" is one of the "most-missed" things in the transition to XCode4.
Note, the questioner is asking: "WHERE should I be looking to correct this?"
Upvotes: 33
Reputation: 1533
The problem is that your iOS Deployment Target in Project-> Build Settings is different from the current version of iOS on your real device.
Upvotes: 62
Reputation: 6472
Check that the Executable File (also known as CFBundleExecutable) in the Info.plist file is set to ${EXECUTABLE_NAME} as opposed to any hardcoded value. This will ensure that even if you change your project name or target name or scheme name, that it still works.
Upvotes: 1
Reputation: 956
It looks like this error can also come about if the "Product Name" in your target's build settings does not match the value of "CFBundleExecutable" in your info.plist
It looks like to me this is the general error Apple gives if the executable is not installed correctly on the device. When the debugger tries to attach it looks for the executable name and if it's not there they give this error. Touch one to debug.
Upvotes: 0
Reputation: 988
I got this error in Organizer - "Could not support development.". I tried rebooting the iOS device and it worked for me :)
Upvotes: 1
Reputation: 244
you need to install the proper version of iOS.in my case it is iOS 4.0 - 4.1 Device Debugging Support GOTO --> XCode Preferences -> Downloads --> Component there are all updates available for your iOS click Install.
This is works for me.
Upvotes: 0
Reputation: 15997
I received this error while having an iPad properly connected.
Some info:
The problem was that I had to specify the "iOS Deployment Target" to 4.2 in more than one place!
That is, both in the "Build Settings" and in the "Summary".
Very odd, and definitely another XCode4 annoyance.
Upvotes: 1
Reputation: 3852
This just happened to me for iOS5 with xcode 4.2.
The answer is to go into organiser, select your device, and press the "Develop with this device" button (or similar wording).
Then go back and build, and it should work..
Upvotes: 1
Reputation: 113
I was having extra trouble because of my Enterprise License, but still updated the iPads. I didn't have to change anything in the Build Settings to lower. But the main thing that I had a problem with was in the Organizer I needed to hit "Use for Development" button.
Kind of an old post, and may not be the best way or a rookie thing to miss but wanted to help anyone out.
Upvotes: 7
Reputation: 9276
My problem similar to those above were related to having the deployment target set too high for the version installed on the phone. Would be nice if it gave a more useful error message. I spent hours messing with my provisioning profile trying to fix it, when the real problem was the older version of the software on the phone.
Upvotes: 4
Reputation: 31
I had the same problem. The reason was simply, that my ipad had not been update to version 4.3.
Upvotes: 3