From 1c25dc098e837256a990225f2a2cc82a1eb6d1e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Thu, 18 Feb 2016 14:41:47 -0800 Subject: [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. --- platform/ios/scripts/package.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'platform/ios/scripts/package.sh') 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…" -- cgit v1.2.1