I am receiving the following error when I try to run my Xcode iOS project:
Xcode cannot run using the selected device. Choose a destination with a supported
If that doesn't work, try this:
See below image - you must delete all lines containing 'Provisioning Profile' till the ; character.
In XCode 6 I opened the Devices window (Window/Devices) and noticed my iPhone was not listed there, even though it was plugged in to the mac at that time. I unplugged it and then plugged it right back in while the Devices window was open, and it appeared in the device list and also in the scheme picker.
I had this error when trying to run a DEBUG build. I changed "Build Active Architecture" to YES for DEBUG and this error finally went away after hours of frustration. I tried about 10 different things that I read on this site and nothing else worked.
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.
I had the same problem, and fixed it by opening the info.plist file in Resources and unchecked the target membership so that nothing is checked as target membership.
Please Check the following: -Connect your device with another cable. -Check if the cable is properly connected. This was my problem Thanks