Xcode Missing Support Files iOS 12.2 (16E227)

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.


After copying and renaming the folder, if problem persists, restart the Mac.


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:

  1. Go to about this mac -> Software Update (Operating System Updates).
  2. After downloading and installing update you'll be able to Update Xcode.
  3. Go to App Store -> search xcode and you could update Xcode successful.

In conclusion: I needed to install updates for my macOS Operating System.


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.