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 ]