Last active
May 15, 2020 02:33
-
-
Save hewigovens/9426910 to your computer and use it in GitHub Desktop.
symlink derived data path in Xcode build phase
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
# create a symlink to avoid the the ugly-long-hard-remember derived data path like: | |
# ~/Library/Developer/Xcode/DerivedData/XXXXXX-aeuhuddtlmcrpvczljaagufyzgpw/Build/Products/Debug/ | |
if [ -L build ];then | |
rm -rf build | |
fi | |
if [ ! -d build ]; then | |
ln -s "${BUILT_PRODUCTS_DIR}" build | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment