summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Bounds <jesse@rebounds.net>2016-02-27 06:58:31 -0800
committerJesse Bounds <jesse@rebounds.net>2016-02-27 06:58:31 -0800
commitcb9054f9ec1dff528a01a9ea62a9e132a5cad438 (patch)
tree0437b026a5f54c4ac765e9cb8b45a2f6c3b1a12a
parentca82ae4be16cd9eab417174378dacc22a4a10767 (diff)
downloadqtlocation-mapboxgl-cb9054f9ec1dff528a01a9ea62a9e132a5cad438.tar.gz
Update package script to reflect file path changeios-v3.2.0-pre.1
-rwxr-xr-xplatform/ios/scripts/package.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/platform/ios/scripts/package.sh b/platform/ios/scripts/package.sh
index 4c7ce7573a..cb1cafa880 100755
--- a/platform/ios/scripts/package.sh
+++ b/platform/ios/scripts/package.sh
@@ -76,7 +76,7 @@ if [[ "${BUILD_FOR_DEVICE}" == true ]]; then
-target everything \
-jobs ${JOBS}
fi
-
+
if [[ ${BUILD_DYNAMIC} == true ]]; then
step "Building dynamic framework for iOS devices (build ${PROJ_VERSION})…"
xcodebuild -sdk iphoneos${IOS_SDK_VERSION} \
@@ -135,13 +135,13 @@ if [[ "${BUILD_FOR_DEVICE}" == true ]]; then
${LIBS[@]/#/gyp/build/${BUILDTYPE}-iphoneos/libmbgl-} \
${LIBS[@]/#/gyp/build/${BUILDTYPE}-iphonesimulator/libmbgl-}
fi
-
+
if [[ ${BUILD_DYNAMIC} == true ]]; then
step "Copying dynamic framework into place for iOS devices"
cp -r \
gyp/build/${BUILDTYPE}-iphoneos/${NAME}.framework \
${OUTPUT}/dynamic/
-
+
step "Merging simulator dynamic library into device dynamic library…"
lipo \
gyp/build/${BUILDTYPE}-iphoneos/${NAME}.framework/${NAME} \
@@ -158,7 +158,7 @@ else
-o ${OUTPUT}/static/${NAME}.framework/${NAME} \
${LIBS[@]/#/gyp/build/${BUILDTYPE}-iphonesimulator/libmbgl-}
fi
-
+
if [[ ${BUILD_DYNAMIC} == true ]]; then
step "Copying dynamic framework into place for iOS Simulator…"
cp -r \
@@ -188,7 +188,7 @@ if [[ ${BUILD_STATIC} == true ]]; then
step "Copying static library headers…"
mkdir -p "${OUTPUT}/static/${NAME}.framework/Headers"
cp -pv platform/{darwin,ios}/include/*.h "${OUTPUT}/static/${NAME}.framework/Headers"
- cat platform/ios/framework/Mapbox-static.h > "${OUTPUT}/static/${NAME}.framework/Headers/Mapbox.h"
+ cat ios/framework/Mapbox-static.h > "${OUTPUT}/static/${NAME}.framework/Headers/Mapbox.h"
cat platform/ios/framework/Mapbox.h >> "${OUTPUT}/static/${NAME}.framework/Headers/Mapbox.h"
fi