Skip to content

Instantly share code, notes, and snippets.

@sai-prasanna
Created January 2, 2017 05:44
Show Gist options
  • Save sai-prasanna/e5acdd43fc6ec0222c9c0cf2cdc824e6 to your computer and use it in GitHub Desktop.
Save sai-prasanna/e5acdd43fc6ec0222c9c0cf2cdc824e6 to your computer and use it in GitHub Desktop.
Allows you to run development builds in new versions of iOS from old XCode
#!/bin/bash
OLD_XCODE_PATH=${1:-/Applications/Xcode7.app}
NEW_XCODE_PATH=${2:-/Applications/Xcode.app}
IOS_NEW_VERSION=10
DEVICE_SUPPORT_PATH=Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
ln -s $NEW_XCODE_PATH/$DEVICE_SUPPORT_PATH/$IOS_NEW_VERSION.* $OLD_XCODE_PATH/$DEVICE_SUPPORT_PATH/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment