#! /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