summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2018-07-03 10:56:32 -0400
committerJason Wray <friedbunny@users.noreply.github.com>2018-07-03 13:31:58 -0400
commit614aab4ea2842c442a8699d68bc8b1aadde93d3e (patch)
tree9a06735163ad398ad37e2736a9dbf3515093c6ca
parent10a6d1bf23db91a29dc420466175171d9de50c11 (diff)
downloadqtlocation-mapboxgl-614aab4ea2842c442a8699d68bc8b1aadde93d3e.tar.gz
[ios, build] Log raw xcodebuild output for package commands
-rwxr-xr-xplatform/ios/scripts/package.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/ios/scripts/package.sh b/platform/ios/scripts/package.sh
index 438fce240f..84c92f82ad 100755
--- a/platform/ios/scripts/package.sh
+++ b/platform/ios/scripts/package.sh
@@ -8,6 +8,7 @@ NAME=Mapbox
OUTPUT=build/ios/pkg
DERIVED_DATA=build/ios
PRODUCTS=${DERIVED_DATA}
+LOG_PATH=build/xcodebuild-$(date +"%Y-%m-%d_%H%M%S").log
BUILDTYPE=${BUILDTYPE:-Debug}
BUILD_FOR_DEVICE=${BUILD_DEVICE:-true}
@@ -76,7 +77,7 @@ xcodebuild \
-scheme ${SCHEME} \
-configuration ${BUILDTYPE} \
-sdk iphonesimulator \
- -jobs ${JOBS} | xcpretty
+ -jobs ${JOBS} | tee ${LOG_PATH} | xcpretty
if [[ ${BUILD_FOR_DEVICE} == true ]]; then
step "Building for iOS devices using scheme ${SCHEME}"
@@ -91,7 +92,7 @@ if [[ ${BUILD_FOR_DEVICE} == true ]]; then
-scheme ${SCHEME} \
-configuration ${BUILDTYPE} \
-sdk iphoneos \
- -jobs ${JOBS} | xcpretty
+ -jobs ${JOBS} | tee ${LOG_PATH} | xcpretty
fi
LIBS=(Mapbox.a)