I am truing to run my application in my iPhone, I am getting the following error.
No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination.
Note that, I am truing to run my application in IOS 7.1.2
Xcode Version 5.0.2 (5A3005)
I have added the provision profile for the 5 months back and yesterday I have updated the os version to 7.1.2. Is it necessary to agin create a provision profile to the mobile? and also I noticed that in Project info tab under Deployment target I din't find IOS version 7.1 so Have selected 7.0 this may causes any issues?
Give me some suggestions to solve the issue.
Related
I'm using Xcode 13.4.1 (13F100) on macOS Monterey 12.5 (21G72).
One of my real test devices (iPhone) has installed iOS 16.0 (20A5328h).
I'd like to run an app from Xcode on this iPhone. Since the iPhone uses a beta version I'm not able to use this device since it's an Unavailable Device with unsupported OS version as you can see here:
This isn't the first time I have to deal with a problem like this. Till now, I always downloaded the beta Xcode version, extracted the folder from DeviceSupport and added it to my actual Xcode version. Then it worked.
I did the same this time. I downloaded the newest Xcode beta version, which also supports iOS 16. I added the folder 16.0 to /Volumes/Macintosh/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/.
The Unavailable Device message disappeared and I was able to build the app on the iPhone. I even got the Build Succeeded sign:
But then, a few seconds later, I get:
Failed to prepare device for development.
This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your mac and device in order to correctly detect compatibility.
I already restarted both, iPhone and Mac but without success.
Why doesn't it work this time? Is there any workaround?
I had the same problem. When you enable Developer Mode on the test device (Settings --> Privacy & Security --> Developer Mode), it works.
#David did you try my solution?
I didn't find a workaround, so I simply downloaded the Xcode beta version, opened it, build the app to the iPhone and then deleted the beta version, since I only needed it for this one build.
I get the following message:
Xcode cannot run using the selected device.
No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination.
Tried connecting to multiple USB ports, deleted xCode with the delete developer tools command in terminal, reinstalled and rebooted.
Please help me out!
Check Architectures Section in Build Settings tab of your Project. iOS 7.1 must be set as Base SDK. If it's not in list, update your xCode to last version. Also try select from list and set again Certificate and Provisioning profile. Sometimes it helps.
Need to to test my app on iphone 4 IOS 5.1.1. The provisioning profiles are ok. I get
"Cannot run using the selected device. No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version or..."
It may be iOS Version problem , I also encountered same problem Before and what i done is Just changed my Deployment target to Device OS version. To make This Use following Method.
Go to Target-->Summary-->Deployment Target -->Select the Version.
and Project-->info-->iOS Deployment target -->Select your Version.
Need to to test my app on iphone 4 IOS 5.1.1. The provisioning profiles are ok. I get
"Cannot run using the selected device. No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version or..."
Of course I tried to set a lower deployment target but I still get the error.
Any Ideas?
I've just enrolled in the iOS dev program. I've an iPad2 running iOs 5.1.1 and am developing in XCode3.2.6.
I've gone through the steps to get a provisioning profile and use my iPad for development but it's not working... in XCode I see an iOS code signing Identity listed now but on trying to run on the device I get:
No provisioned iOS device is connected. Please check the Organizer to
view the status of any connected devices.
My device shows yellow in the Organize screen with message:
The version of iOS on XXXXX does not match any of the versions of
iOS supported for development with this installation of the iOS SDK.
Please restore the device to a version of the OS listed below, or
update to the latest version of the iOS SDK; which is available here.
OS Installed on XXXXX
5.1.1 (9B206)
Xcode Supported iOS Versions Latest
4.3 (8F190)
4.2
4.1
4.0
4.0.2
4.0.1
3.2
3.2.2
3.2.1
3.1
3.1.3
3.1.2
I assume it's some incompatibility between iOS version and SDK but what am I supposed to do? The organizer screen seems to let me change iOS but asks me where to find the file image, which I don't have. And I don't know how or where to install a different SDK.
Sorry if I explained this badly, I'm pretty lost here. Although I have my app working in the simulator I really don't follow all this provisioning/profile stuff even after reading through the starter guide.
Your Xcode is too old. You must upgrade to at least XCode 4.3. But to upgrade to XCode 4.3, your mac need to be running Lion. It's a hassle, but after that, you will be able to build for your iPad that is currently on iOS 5. Otherwise, you need a device that is on previous version of iOS, but that's not sustainable because apple has a way of "automatically updating" your software...(or because of some careless settings, of course)
1 Open Xcode 5 (You should have Xcode 5)
2 Choose your iPhone5 (iOS7 or +) on Device Selection in Xcode 5 for your app.
3 Close Xcode 5, and Open Xcode 4
4 Your iPhone5 with iOS7 can now be used as test device.
Hope this helps.