From b27db00619c05e4438ea41d4c7fcb1d77f1b4bbe Mon Sep 17 00:00:00 2001 From: Thomas-Karl Pietrowski <thopiekar@Thomas-Karls-Mac-Pro.local> Date: Mon, 7 Jul 2014 10:41:33 -0700 Subject: [PATCH 1/2] Adding .DS_Store to .gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 2b4957e..fa0c387 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,5 @@ app-* src/ios/build/ src/ios/iosbuild/ src/ios/ios.c + +*.DS_Store* From bb5729a885314f2b18429beef8e18667c5a7e11c Mon Sep 17 00:00:00 2001 From: Thomas-Karl Pietrowski <thopiekar@googlemail.com> Date: Mon, 7 Jul 2014 10:43:23 -0700 Subject: [PATCH 2/2] Adding info about iOS SDK path searching --- tools/environment.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/environment.sh b/tools/environment.sh index 7ef9b69..bfe1464 100755 --- a/tools/environment.sh +++ b/tools/environment.sh @@ -9,9 +9,13 @@ try () { } # iOS SDK Environmnent (don't use name "SDKROOT"!!! it will break the compilation) + export SDKVER=`xcodebuild -showsdks | fgrep "iphoneos" | tail -n 1 | awk '{print $2}'` +# will return the latest iphoneos version, here e.g. "7.1" export DEVROOT=`xcode-select -print-path`/Platforms/iPhoneOS.platform/Developer +# path relative to root, by default "/Applications/Xcode.app/Contents/Developer", and appends the path to the DEVROOT as seen export IOSSDKROOT=$DEVROOT/SDKs/iPhoneOS$SDKVER.sdk +# path to the wanted iOS SDK folder.. here in Xcode 5.1.1 the only dir in $DEVROOT/SDKs/ # Xcode doesn't include /usr/local/bin export PATH="$PATH":/usr/local/bin