48

Apparently, with the latest IOS update, my version of Xcode could not build due to the following error.

Could not locate device support files. This iPhone 7 Plus (Model 1661, 1784, 1785, 1786) is running iOS 11.3 (15E216), which may not be supported by this version of Xcode.

Tried to install Xcode 9.3 via this link https://developer.apple.com/download/more/. But as it turns out, my Mac OS version sees the update as an incompatible version. Running on Sierra 10.12.6

alphapilgrim
  • 3,761
  • 8
  • 29
  • 58
  • 1
    You need to update to Xcode 9.3 – Nitish Apr 08 '18 at 16:40
  • Download the latest Xcode-Beta version on Apple Developer, it will solve this issue. – Maximelc Apr 08 '18 at 16:48
  • @Maximelc could you share a screen shot of the download i should get – alphapilgrim Apr 08 '18 at 16:56
  • @alphapilgrim You should have something like this [Screen Shot](https://imgur.com/d90SVUu). – Maximelc Apr 08 '18 at 17:22
  • 3
    Been there... Not fun. Developers cannot be too far behind, once the machine cannot update to the latest macOS, it's time to update the hardware. It use to be (relatively) safe to be one macOS version behind. That is no longer true.. It's better to not update iOS devices before updating Xcode. Xcode can build on older iOS, the reverse will not work. – bauerMusic Apr 08 '18 at 18:24
  • Xcode 9.3 is NOW released. Goto App store and update. Not all of my machines got notified of the update being available for some unknown reason but it was simply a matter of installing it again. – Cliff Ribaudo May 27 '18 at 14:07

8 Answers8

119

Another option is to download the 11.3 device support at:

iOS 11.3 (15E217)

And don't forget to remove "(15E217)" from folder name, so it became "11.3". Restart Xcode afterwards.

enter image description here

Where to paste it according to comment of EdwardM

For those that don't know where to paste the contents of the zipped file. Find your Applications icon in the dock, right-click, "Open Applications". The folder will open in Finder. Right-click Xcode > Show Package Contents. Then go to Developer > Platforms > iPhoneOS.platform > DeviceSupport

Khaled Annajar
  • 15,542
  • 5
  • 34
  • 45
kl.woon
  • 2,036
  • 1
  • 18
  • 10
  • 33
    For those that don't know where to paste the contents of the zipped file. Find your Applications icon in the dock, right-click, "Open Applications". The folder will open in Finder. Right-click Xcode > Show Package Contents. Then go to Developer > Platforms > iPhoneOS.platform > DeviceSupport – EdwardM May 07 '18 at 20:17
  • 3
    Cmd+Space -> Enter this string "/Applications/Xcode9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/", change the Xcode to whichever version you have – Naishta May 22 '18 at 14:22
  • For some reason this isn't working with one of my mac, but worked on other, strange (both have XCode 9.2) – Tejas K Jun 06 '18 at 06:23
  • I was unable to paste it, so I had to use `sudo mkdir` and `sudo cp` to put the files in the right place. For those who need any help, here's more detail: https://medium.com/@namenotrequired/cannot-paste-into-iphoneos-platform-devicesupport-c3683cd82ed – Bart S Nov 18 '18 at 12:21
  • Restarting Xcode didn't work for me. I had to also restart my Mac for these changes to take effect. –  Apr 22 '19 at 07:02
34

I have the same problem, OS Sierra trying to run iPhone SE with 10.3 using Xcode 9.2 and I don't have the resources to update to High Sierra and Xcode 9.3.

Solution:

  1. Find your friends who have Xcode 9.3
  2. Ask them to right click on Xcode, Show Package Contents then navigate to Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.3 (15E217)
  3. Copy the 11.3 (15E217) folder to your old Xcode (9.2) with the same file hierarchy

Now you have Xcode 9.2 with iOS 11.3.

Chris Long
  • 3,007
  • 4
  • 30
  • 37
asharijuang
  • 531
  • 5
  • 4
  • If you built outside Xcode originally i.e. a Cordova App, you may need to build again before changes take effect – Olli Apr 20 '18 at 11:57
  • This also happened to me when I installed Xcode 10 beside Xcode 9.3. And copying the device support from Xcode 10 to 9.3 made it work. – Khaled Annajar Oct 01 '18 at 06:58
30

I just give you a device support file for iOS 11.4 (15F79). which just on XCode version 9.4 (9F1027a)

Updated on 5 Oct 2018:

  • Xcode 10.0 (10A255) - iOS 12.0 (16A366) [Updated 21 Sep: @Nik Burns confirmed that works]
  • Xcode 10.1 beta 2 (10O35n) - iOS 12.1 (16B5068g) [Please give me feedback if that works]
Long Nguyen
  • 9,898
  • 5
  • 53
  • 52
7

I have macOS 10.12.6

You can download Xcode 9.3 from https://developer.apple.com/download/
and extract the "11.3 (15E217)" folder from it

The fix really works.

Samuel Liew
  • 76,741
  • 107
  • 159
  • 260
Nicolas
  • 530
  • 6
  • 9
2

please add both of "11.3 (15E216)" and "11.3 (15E217)" keep all of them inside /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform

shenlong
  • 21
  • 3
1

I recently stumbled upon the same problem, where I basically updated my iPhone X to the newest OS version, and (for reasons I will not go into) had to run the app on Xcode 9.2.

This thread was helpful, but there's one small caveat that even though I downloaded the newest support files from the provided Github project, and put them in the appropriate folder, I was still getting this error:

Say for example you’ve downloaded 11.4 (15F79) but after restarting and running again you get an error mentioning something like 11.4.1 (15G77).

The solution, as I wrote here, was to just rename the folder (so, rename 11.4 (15F79) to 11.4.1 (15G77)), restart Xcode and voila, it works!

Hope this helps someone

Nikola
  • 14,888
  • 21
  • 101
  • 165
0
  1. I have macOS 10.13.4

  2. I downloaded Xcode 9.3

  3. Here you have the "11.3 (15E217)" it's work fine.
N.Rakesh
  • 1
  • 2
0

Quicker/Smaller Fix

This is probably due to outdated Xcode, if you don't want a big Xcode update due to limited storage/time then you can manually download the required support files instead of the whole update.

  1. Download the files (depend on iOS veersion) from here
  2. And then paste the downloaded files in below directory /Applications/Xcode/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
UsamaAmjad
  • 4,175
  • 3
  • 28
  • 35