Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DreamingInBinary/cb387557c956ae7e1d2de3d42ab7b2f4 to your computer and use it in GitHub Desktop.
Save DreamingInBinary/cb387557c956ae7e1d2de3d42ab7b2f4 to your computer and use it in GitHub Desktop.
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
Copy link

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
Copy link

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