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
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:
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
please add both of "11.3 (15E216)" and "11.3 (15E217)" keep all of them inside /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
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
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