summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmkiley <jordan.kiley@mapbox.com>2018-10-30 17:01:46 -0700
committerjmkiley <jordan.kiley@mapbox.com>2018-10-30 17:02:10 -0700
commita151972020614fe242067dafbe95cfa53d608e68 (patch)
treefafe2fdd8a9c5e757abab65b3c03febd9ca82633
parent31df32410e3018490b025708b8f9cd85282eb5e5 (diff)
downloadqtlocation-mapboxgl-a151972020614fe242067dafbe95cfa53d608e68.tar.gz
[ios] removed some variables that were preventing script from running
-rwxr-xr-xplatform/ios/scripts/package.sh6
-rwxr-xr-xplatform/ios/scripts/publish-cn.sh2
2 files changed, 3 insertions, 5 deletions
diff --git a/platform/ios/scripts/package.sh b/platform/ios/scripts/package.sh
index 580cd980d3..9473d44531 100755
--- a/platform/ios/scripts/package.sh
+++ b/platform/ios/scripts/package.sh
@@ -76,8 +76,7 @@ xcodebuild \
-workspace ./platform/ios/ios.xcworkspace \
-scheme ${SCHEME} \
-configuration ${BUILDTYPE} \
- -sdk iphonesimulator \
- -jobs ${JOBS} | tee ${LOG_PATH} | xcpretty
+ -sdk iphonesimulator | xcpretty
if [[ ${BUILD_FOR_DEVICE} == true ]]; then
step "Building ${FORMAT} framework for iOS devices using ${SCHEME} scheme"
@@ -91,8 +90,7 @@ if [[ ${BUILD_FOR_DEVICE} == true ]]; then
-workspace ./platform/ios/ios.xcworkspace \
-scheme ${SCHEME} \
-configuration ${BUILDTYPE} \
- -sdk iphoneos \
- -jobs ${JOBS} | tee ${LOG_PATH} | xcpretty
+ -sdk iphoneos | xcpretty
fi
LIBS=(Mapbox.a)
diff --git a/platform/ios/scripts/publish-cn.sh b/platform/ios/scripts/publish-cn.sh
index 74746e6fb3..65e3e3b132 100755
--- a/platform/ios/scripts/publish-cn.sh
+++ b/platform/ios/scripts/publish-cn.sh
@@ -49,5 +49,5 @@ step "Uploading ${ZIP} to s3…"
# Since this build is primarily for .CN customers, it will be hosted on .cn.
-aws s3 cp ../${ZIP} https://s3.cn-north-1.amazonaws.com.cn/binary.mapbox.cn/${ZIP} --acl public-read ${PROGRESS}
+aws s3 cp ../${ZIP} s3://binary.mapbox.cn/ios/builds/maps-sdk/ --acl public-read ${PROGRESS}
echo "URL: https://s3.cn-north-1.amazonaws.com.cn/binary.mapbox.cn/${ZIP}"