From d0329a3571cf6f75387b9c85c6e793adea171fbb Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 3 Feb 2019 02:55:22 -0800 Subject: [PATCH] Set DEVELOPER_DIR, to avoid sudo and xcode-select. --- make.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make.sh b/make.sh index b836d72..9e5e5f6 100755 --- 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++) -- 2.50.0