Reputation: 6559
I'm on iOS 13.5 and using Xcode 11.4 to build on to it. I'm getting this error message:
The KBlackberry
is my iPhone device name.
I tried restarting the device and reconnecting of course and various other things but nothing seems to fix it. My next step is to try a newer version of Xcode.
Upvotes: 308
Views: 219304
Reputation: 11
in iOS 17.4 and Xcode 15.2
Upvotes: 1
Reputation: 2064
Check your iOS Version from (Settings → General → About → Software Version) and get the device support file from the link below:
https://github.com/iGhibli/iOS-DeviceSupport/tree/master/DeviceSupport
Next, unzip the files and place them at the following location:
Applications → Xcode → right click → Show Package Contents → Contents → Developer → Platforms → iPhoneOS.platform → DeviceSupport
**Restart your Macbook or pc **
after restarting xcode will configuring and ready to install your app app in your iPhone which is running on higher ios version.
Upvotes: 21
Reputation: 809
Developers who are using Xcode 11.5 and trying to install their app in iOS 13.6 device will also see this message. It's a very confusing message.
All you need to do is Download Device support files of iOS 13.6 from this link
Close Xcode
Unzip and paste it in this location:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
Reopen Xcode.
Now you can install the app on the iOS 13.6 device using Xcode 11.5.
Upvotes: 65
Reputation: 3616
Before you debug with iPhone, follow this mapping table about the version of Xcode and iOS:
Xcode 12.3 → iOS 14.3
Xcode 12.2 → iOS 14.2
Xcode 12.1 → iOS 14.1
Xcode 12 → iOS 14
Xcode 11.7 → iOS 13.7
Xcode 11.6 → iOS 13.6
Xcode 11.5 → iOS 13.5
Xcode 11.4 → iOS 13.4
Download at https://developer.apple.com/download/more/.
If you're still encountering the error, try to unpair the device within the menu Window > Devices and Simulators, clean Xcode, reconnect and trust the device, then re-run. It worked for me!
Get more info: https://en.wikipedia.org/wiki/Xcode
Upvotes: 344
Reputation: 1272
I am now using Xcode 11.6, macOS 10.15.6, and iOS 13.5.1.
First the problem was that I was on Xcode 11.4. But I couldn't upgrade since I wasn't on macOS v10.15 (Catalina) yet. (And I couldn't upgrade because my RAID went down and I couldn't make a backup, but that's another saga.)
After upgrading to Catalina, then to Xcode 11.6 I still couldn't build to the device. So I opened Devices and Simulators and unpaired the phone, as mentioned in the comments here. Then when I tried to re-pair, a warning message said that the device was busy (it was not). Finally, after rebooting the phone (had to untether it for it to come back on), cleaning Xcode, and re-pairing the phone, I finally, finally built to the device. So good luck!
Upvotes: 2
Reputation: 316
If the Xcode version you're using supports the major iOS version you're targeting, there's a workaround. Let's say you have installed Xcode 12.1.0
and you wish to run your project on a device with iOS 14.2
.
Then, you can download the iOS Developer Disk Image
from here and move it from the downloads folder to /Applications/Xcode_12.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
You'd download iOS 14.2 Developer Disk Image
and extract the contents of 14.2.zip
to your Xcode's DeviceSupport
directory.
Upvotes: 1
Reputation: 413
After trying all of the previous answers, the only thing that worked for me iOS 14.2 was to run Xcode 12.2 beta, and then switch back to Xcode 12.0.1 production.
Upvotes: 1
Reputation: 1692
So I guess all roads lead to Rome. If you're using Xcode 11.7 together with iOS 13.6, consider updating your iOS to 13.7. That worked for me. There isn't any need to upgrade Xcode to 12.
Upvotes: 5
Reputation: 2660
Well, to be able to even get some information about why this happens, I did this:
Upvotes: 51
Reputation: 24962
Going to Window → Devices and Simulators will give you a better idea of what's going on. In my case, I had to update the iPhone since Xcode updated overnight and stopped supporting my iPhone.
Upvotes: 38
Reputation: 6546
This means the Xcode you are using is not compatible with the iOS version on the device. (You have updated iOS on the device, but have not updated Xcode.)
Open the App Store app and update Xcode.
If there aren't any updates - go here and download the latest version (not beta) of Xcode.
Upvotes: 2
Reputation: 747
I am using an iPhone SE iOS 13.6.1 and Xcode 13.5 and I faced the same issue. While the iPhone is not available. Please reconnect the device
warning window is open, I turned off the iPhone, reopened and rebuilt the Xcode project, Trust
ed in the iPhone and my problem was solved.
Upvotes: 1
Reputation: 71
I am not sure if covered in previous answers, but if you go to:
Xcode menu → Window → Devices and Simulators
You can see warnings and error messages for the device. For example, mine is below... I just updated everything, so I will need to workout where to go from here.
"The current device configuration is unsupported. This iPhone 11 is running iOS 13.6.1 (17G…"
"To run on this device, please update to a version of Xcode that supports iOS 13.6.1. You can download Xcode from the Mac App Store or the Apple Developer website."
Upvotes: 7
Reputation: 1
For some reason, switching USB ports worked for me. I tried many of the above solutions - updating, etc. Nothing worked until I switched to a different USB port. Strange!
Upvotes: 0
Reputation:
I was using Xcode beta 3 (the latest at the time of writing) and encountered this issue with an iPhone XS running the latest iOS 14 Beta.
The solution, after trying a lot of suggestions, was to restart my iPhone.
Upvotes: 1
Reputation: 326
I had the same issue with Xcode 11.6 and iOS 13.6. Unpairing the device and adding it again solved the problem.
Upvotes: 2
Reputation: 1040
Steps I used to fix it:
It still showed the same error so,
And it worked.
Upvotes: 1
Reputation: 46
If you need to stay on Xcode 11.4, try this:
xcodes
for example);/Applications/Xcode-11.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.5
to /Applications/Xcode-11.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.5
;You should now be able to run your app on iOS 13.5 with Xcode 11.4.
Upvotes: 1
Reputation: 811
Please download the latest device from this URL and add to devices.
https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/
Upvotes: 1
Reputation: 1393
If you are using an old Xcode version and your phone is updated, you don't need to update your Xcode. You can simply add the device support.
https://github.com/iGhibli/iOS-DeviceSupport
Upvotes: 8
Reputation: 290
Download the support file for the iOS version of your device from this link and follow the instructions.
Upvotes: 4
Reputation: 181
If your iPhone iOS version is later than Xcode device support, you should download the files device support from this site and then paste at the below location:
/Applications/Xcode11_4_1.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.5
Upvotes: 10
Reputation: 859
Restarting my Mac was the only thing that resolved the problem.
Other things I tried before restarting which didn't work:
I am also now using wireless debugging after reading DanielSmurts' answer.
Upvotes: 3
Reputation: 641
I had the same issue... Xcode 11.5 iOS 13.5 hadn't yet found a fix... so I just switched to build over Wi-Fi ...
Here are some simple instructions on how to get that setup: Wireless debugging for iOS.
Upvotes: 6
Reputation: 303
Xcode 11.4 does not support the new iOS 13.5. Updating to Xcode 11.5 fixed the issue for me
https://developer.apple.com/documentation/xcode_release_notes/xcode_11_4_release_notes
Known Issues Xcode 11.4 doesn’t work with devices running iOS 13.4 beta 1 and beta 2. (60055806)
Upvotes: 18
Reputation: 276
If you are connecting it with a cable, clean the build folder, run it on the simulator, and then run it again immediately on your phone.
If you are using it without a cable, make sure the Wi-Fi connection is exactly the same on both your PC and your phone or turn the personal hotspot on your phone and connect your PC to the hotspot to make sure they're using the exact same connection.
Upvotes: 5
Reputation: 2498
Xcode 11.4 includes SDKs for iOS 13.4 as mentioned on the release notes here.
You must update to the beta version if you wish to deal with iOS 13.5.
Upvotes: 205
Reputation: 32572
My experience, yesterday my iOS 13.6
is supported by Xcode 11.7
and now today the Xcode rejected my iPhone and I update the Xcode to version 12
and everything get back on track.
Solution:
Update your Xcode to the latest version.
Hint: there is no need to update iOS.
Upvotes: 4
Reputation: 1259
I had this issue today. [device name] is not available. Please reconnect the device.
My iPhone is running iOS 13.6.1, and the latest version of Xcode will not build with that. I saw a comment on the Apple Developer forums here to update the phone to iOS 13.7, and that resolved the issue for me.
Upvotes: 10