From e1fdc4f8b310cbb1eb2dd2597eb6aae84785ed36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Wed, 11 Mar 2015 09:59:21 -0700 Subject: 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. --- scripts/package_ios.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/package_ios.sh b/scripts/package_ios.sh index 89aac5ee79..7f4213bf6c 100755 --- a/scripts/package_ios.sh +++ b/scripts/package_ios.sh @@ -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"; } -- cgit v1.2.1