summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmkiley <jordan.kiley@mapbox.com>2018-10-30 16:29:00 -0700
committerjmkiley <jordan.kiley@mapbox.com>2018-10-30 16:29:00 -0700
commit31df32410e3018490b025708b8f9cd85282eb5e5 (patch)
treec7adf619b04bc7daa871c7ea00fa26e022a50d34
parentf46c8afaddcebb5a59850d29874e87caf293c072 (diff)
downloadqtlocation-mapboxgl-31df32410e3018490b025708b8f9cd85282eb5e5.tar.gz
[ios] reset IOS_SDK_VERSION
-rw-r--r--platform/ios/Release-CN.md2
-rwxr-xr-xplatform/ios/scripts/package.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/ios/Release-CN.md b/platform/ios/Release-CN.md
index 9a2d20c7fa..c1ed008b82 100644
--- a/platform/ios/Release-CN.md
+++ b/platform/ios/Release-CN.md
@@ -4,7 +4,7 @@ This branch is intended to exist as a branch off of of the main Maps SDK. There
Before running this script, please check that you are authorized to upload to S3 in China.
-1. Update the `IOS_SDK_VERSION` and `SEM_VERSION` values in the `platform/ios/scripts/package.sh` file. Versioning will follow: `vX.X.X-cn.X` in order to keep this distinct from the main Maps SDK.
+1. Update the `SEM_VERSION` value in the `platform/ios/scripts/package.sh` file. Versioning will follow: `vX.X.X-cn.X` in order to keep this distinct from the main Maps SDK.
2. Update the SDK version in the podspec files.
diff --git a/platform/ios/scripts/package.sh b/platform/ios/scripts/package.sh
index 8920cae21f..580cd980d3 100755
--- a/platform/ios/scripts/package.sh
+++ b/platform/ios/scripts/package.sh
@@ -28,7 +28,7 @@ SDK=iphonesimulator
if [[ ${BUILD_FOR_DEVICE} == true ]]; then
SDK=iphoneos
fi
-IOS_SDK_VERSION='v4.5.0-cn.1'
+IOS_SDK_VERSION=`xcrun --sdk ${SDK} --show-sdk-version`
function step { >&2 echo -e "\033[1m\033[36m* $@\033[0m"; }
function finish { >&2 echo -en "\033[0m"; }