]> git.saurik.com Git - ldid.git/commitdiff
Set DEVELOPER_DIR, to avoid sudo and xcode-select.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 3 Feb 2019 10:55:22 +0000 (02:55 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 3 Feb 2019 10:55:22 +0000 (02:55 -0800)
make.sh

diff --git a/make.sh b/make.sh
index b836d72281241083c8d1d94c63c16a973a3494f5..9e5e5f67ba7e691cef7709093f7e2ea11f49edef 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -13,13 +13,13 @@ fi
 if "${ios}"; then
 
 out=ios
-sudo xcode-select --switch /Applications/Xcode-4.6.3.app
+export DEVELOPER_DIR=/Applications/Xcode-4.6.3.app
 flags=(cycc -- -miphoneos-version-min=2.0 -arch armv6)
 
 else
 
 out=out
-sudo xcode-select --switch /Applications/Xcode-5.1.1.app
+export DEVELOPER_DIR=/Applications/Xcode-5.1.1.app
 
 if which xcrun &>/dev/null; then
     flags=(xcrun -sdk macosx g++)