Xcode Missing Support Files iOS 12.2 (16E227)
IosXcodeIos Problem Overview
My device is running iOS 12.2, but the latest Xcode version available (on the store, and directly from developer.apple, which just pushes me to the store) does not provide the support files for that iOS version, so I cannot build to devices.
Here's the error message from Xcode:
And my Xcode build running on macOS Mojava v.10.14:
Are there any reputable other places to download a more recent Xcode beta from (or just the support files, in Xcode > Contents > Developer > Platforms > iPhoneOS.platform > DeviceSupport), or am I missing something here?
Ios Solutions
Solution 1 - Ios
Download device support files from here -https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/12.2%20(16E226).zip, if your Xcode version doesn't have them. Extract the zip file and copy to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport. Rename 16E266 folder to 16E227. Restart XCode.
As pointed out by @DavidH, this worked for me.
Solution 2 - Ios
After copying and renaming the folder, if problem persists, restart the Mac.
Solution 3 - Ios
I had the same issue. I was about to download the https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/12.2%20(16E226).zip and paste it in the /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport path but I think it's not the normal flow. Later, I remembered that I almost never download the Operating System updates. My solution was:
- Go to about this mac -> Software Update (Operating System Updates).
- After downloading and installing update you'll be able to Update Xcode.
- Go to App Store -> search xcode and you could update Xcode successful.
In conclusion: I needed to install updates for my macOS Operating System.
Solution 4 - Ios
Need iOS 13.4 support in XCode 11.3.1 ?
You updated your iPhone iOS to 13.4 ?
You don't want to upgrade your OSX to Catalina in order to get the latest XCode 11.4?
Download the XCode release that does support your device from here: https://developer.apple.com/download/more
Extract the zip file, right click on Xcode.app, click on "Show Package Contents"
Go into folder: Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport
Find your iOS version you need support for and copy that folder to your existing Xcode.app within the same folder.
DONE.
This process will work for new and old versions of iOS & XCode.
Solution 5 - Ios
Here is source file.
After copy downloaded folder to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport , restart Xcode then it will work. Hope this will help you.
Solution 6 - Ios
I download the Developer disk image for iOS 13.0 from here and added support file in Xcode Version 10.3 (10G8).
https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/13.0.zip
Follow Those steps. 1) Unzipped downloaded file
-
Right click on Xcode and click on Show Package Content.
-
Then paste your file on path.
Contents -> Developer -> Platforms -> iPhoneOS.platforms -> DeviceSupport
Then Restart Your Xcode. It works for me.
Solution 7 - Ios
- Download iOS developer disk image 12.2 and unzip it
- Go Application>Xcode>Contents>Developer>Platforms>iPhoneOS.Platform>DeviceSupport paste your folder there.
- Restart your Xcode.