Created
January 2, 2017 05:44
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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