Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
cp -r /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0\ \(15A5278f\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
@PattoMotto

This comment has been minimized.

Copy link

@PattoMotto PattoMotto commented Jun 27, 2017

I suggest changing the script to be like this (use wildcard)
cp -r /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0* /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

@bluebinary

This comment has been minimized.

Copy link

@bluebinary bluebinary commented Apr 11, 2018

To include Device Support files for all versions of iOS 11.*, including the latest iOS 11.3 (as of writing) back into Xcode 8, I found I had to modify the copy command as follows, note the change of the wildcard clause from 11.0* to 11.* to allow for other point releases of iOS 11 to be copied:

cp -r ~/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.* /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

Where ~/Downloads/Xcode.app is in this case Xcode 9.3, which includes support for the iOS 11.3, and where /Applications/Xcode.app is in this case Xcode 8.2.1 which is the last version of Xcode that will run on El Capitan (OS X 10.11) - the system this patch was tested on.

It is likely that iOS 12 support will require at least Xcode 9.4+ however, so this solution may not work for the next iOS release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.