Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion engine/setup_tool_chains.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,18 @@ 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

# FIXME: What's the lowest SDK that we can expect to work? Coule we save people from lots of work by limiting what is allowed here?
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 ]
Expand Down