From 6e9ac3b005219950c7fe0903197babd47fee9ebb Mon Sep 17 00:00:00 2001 From: Harold Thetiot Date: Tue, 24 Mar 2015 09:18:10 -0700 Subject: [PATCH] add iPhoneOS8.2.sdk to setup_tool_chains.sh --- engine/setup_tool_chains.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/engine/setup_tool_chains.sh b/engine/setup_tool_chains.sh index 9ffbc0d..f3c0663 100755 --- a/engine/setup_tool_chains.sh +++ b/engine/setup_tool_chains.sh @@ -21,6 +21,7 @@ setup_ios_toolchain() { PLATFORM_IOS_SDK_71=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk PLATFORM_IOS_SDK_80=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk PLATFORM_IOS_SDK_81=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk + PLATFORM_IOS_SDK_82=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk # Some patches of iOS related code needs this path to locate a patch PLATFORM_IOS_SIM=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform @@ -28,7 +29,10 @@ setup_ios_toolchain() { MIN_IOS_VERSION="5.0" if [ -z $SDK_IOS_VERSION ] then - if [ -d $PLATFORM_IOS_SDK_81 ] + if [ -d $PLATFORM_IOS_SDK_82 ] + then + SDK_IOS_VERSION="8.2" + elif [ -d $PLATFORM_IOS_SDK_81 ] then SDK_IOS_VERSION="8.1" elif [ -d $PLATFORM_IOS_SDK_80 ]