Skip to content

Instantly share code, notes, and snippets.

@iphonic
Created December 18, 2017 17:19
Show Gist options
  • Save iphonic/d7bff1ede2f9102031a1b453b9920aba to your computer and use it in GitHub Desktop.
Save iphonic/d7bff1ede2f9102031a1b453b9920aba to your computer and use it in GitHub Desktop.
How to run an XCode build on a newer iOS version
Scenario: your code (and all your pre-compiled binaries) are compatible with XCode 8.3.3, but your phone runs iOS 11.0,
which would requires XCode 9.0 to be able to run your app.
How to fix it:
Install the newer XCode (e.g. 9.0), required for that version
Link device support for the new iOS version from the new XCode (8.3.3) to the old XCode (9.0):
assuming the next Xcode is in /Applications/Xcode_9.app and the old Xcode is in /Applications/Xcode
ln -s /Applications/Xcode_9.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0
You can now deploy from XCode 8.3.3 to iOS 11.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment