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
please add both of "11.3 (15E216)" and "11.3 (15E217)" keep all of them inside /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
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)
to11.4.1 (15G77)
), restart Xcode and voila, it works!Hope this helps someone
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.
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./Applications/Xcode/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
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.
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
I have macOS 10.13.4
I downloaded Xcode 9.3