summaryrefslogtreecommitdiff
path: root/platform/ios/Mapbox-iOS-SDK-static-part.podspec
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2018-09-26 00:48:50 -0700
committerMinh Nguyễn <mxn@1ec5.org>2018-09-26 11:08:39 -0700
commit871aebffca39d5c92fd4e2debce0864ff62f1017 (patch)
tree0d2bf931a06a66789342097c00eb15be6103a0e3 /platform/ios/Mapbox-iOS-SDK-static-part.podspec
parenta9959773128f57e05f278d4d67ea167b8b6f73f5 (diff)
downloadqtlocation-mapboxgl-871aebffca39d5c92fd4e2debce0864ff62f1017.tar.gz
[ios] Static framework defines module
Fixed build errors in the dynamic+static scheme by ensuring that both the dynamic and static targets have the same DEFINES_MODULE build setting.
Diffstat (limited to 'platform/ios/Mapbox-iOS-SDK-static-part.podspec')
-rw-r--r--platform/ios/Mapbox-iOS-SDK-static-part.podspec2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/ios/Mapbox-iOS-SDK-static-part.podspec b/platform/ios/Mapbox-iOS-SDK-static-part.podspec
index bd98bb7272..b82c2bb24f 100644
--- a/platform/ios/Mapbox-iOS-SDK-static-part.podspec
+++ b/platform/ios/Mapbox-iOS-SDK-static-part.podspec
@@ -9,4 +9,6 @@
m.module_name = 'Mapbox'
m.xcconfig = { 'OTHER_LDFLAGS' => '-ObjC' }
+ m.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
+
end