Skip to content

Instantly share code, notes, and snippets.

@kinwahlai
Created July 20, 2020 07:25
Show Gist options
  • Save kinwahlai/42aaaf5d8a108662b55934ee7baee0d6 to your computer and use it in GitHub Desktop.
Save kinwahlai/42aaaf5d8a108662b55934ee7baee0d6 to your computer and use it in GitHub Desktop.
#! /bin/sh
# credits to Dmitry Sabanin
# https://gist.github.com/dsabanin/e1fe9bdc03d429d6cbcc7be13add9e6d
XCODE=`xcode-select -p`
[ ! -d "$XCODE" ] && echo "Directory $XCODE DOES NOT exists." && exit 404
sudo mkdir -p $XCODE/AppleInternal/Library/Xcode
sudo touch $XCODE/AppleInternal/Library/Xcode/AppleInternal.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment