Add iOS 5 SDK detection

This commit is contained in:
twinaphex 2014-04-14 19:29:58 +02:00
parent 5a1d075dc1
commit 72706b6baf

View File

@ -16,6 +16,11 @@ IOS=1
IOSSDKLOC="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/"
if [ -d "${IOSSDKLOC}iPhoneOS5.0.sdk" ]; then
echo "iOS 5.0 SDK detected"
IOSVER=50
IOSSDKLOC="${IOSSDKLOC}iPhoneOS5.0.sdk"
fi
if [ -d "${IOSSDKLOC}iPhoneOS6.0.sdk" ]; then
echo "iOS 6.0 SDK detected"
IOSVER=60