Build with current iOS SDK

xcodebuild does not require a specific SDK version, but Mason puts packages in a version-specific directory. So this change uses the logic for $MASON_PLATFORM_VERSION in mason.sh in mapbox/mason.

Fixes #974.
This commit is contained in:
Minh Nguyễn
2015-03-11 09:59:21 -07:00
parent 21f5c0d514
commit e1fdc4f8b3

View File

@@ -6,7 +6,7 @@ set -u
NAME=MapboxGL
OUTPUT=build/ios/pkg
IOS_SDK_VERSION=8.1
IOS_SDK_VERSION=`xcrun --sdk iphoneos --show-sdk-version`
LIBUV_VERSION=0.10.28
function step { >&2 echo -e "\033[1m\033[36m* $@\033[0m"; }