diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-02-18 14:41:47 -0800 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-02-18 14:41:47 -0800 |
commit | 1c25dc098e837256a990225f2a2cc82a1eb6d1e3 (patch) | |
tree | 2172d0de37cc5e01a8253096abc8bfac205191b1 /platform/ios/scripts/package.sh | |
parent | a503048457d154fff091f2e507c9b898efdd28fe (diff) | |
download | qtlocation-mapboxgl-1c25dc098e837256a990225f2a2cc82a1eb6d1e3.tar.gz |
[ios] Import required frameworks with static framework umbrella
The umbrella header inside the static framework now imports the required iOS SDK frameworks so manual linking is unnecessary. This change corrects a regression introduced in #3183, when the umbrella header used in version 3.0.1 was removed.
Diffstat (limited to 'platform/ios/scripts/package.sh')
-rwxr-xr-x | platform/ios/scripts/package.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/ios/scripts/package.sh b/platform/ios/scripts/package.sh index 47bee960cf..4a964d4346 100755 --- a/platform/ios/scripts/package.sh +++ b/platform/ios/scripts/package.sh @@ -188,6 +188,8 @@ if [[ ${BUILD_STATIC} == true ]]; then step "Copying static library headers…" mkdir -p "${OUTPUT}/static/${NAME}.framework/Headers" cp -pv include/mbgl/{darwin,ios}/*.h "${OUTPUT}/static/${NAME}.framework/Headers" + cat ios/framework/Mapbox-static.h > "${OUTPUT}/static/${NAME}.framework/Headers/Mapbox.h" + cat ios/framework/Mapbox.h >> "${OUTPUT}/static/${NAME}.framework/Headers/Mapbox.h" fi step "Copying library resources…" |