diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2018-09-26 00:48:50 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2018-09-26 11:08:39 -0700 |
commit | 871aebffca39d5c92fd4e2debce0864ff62f1017 (patch) | |
tree | 0d2bf931a06a66789342097c00eb15be6103a0e3 /platform/ios/Mapbox-iOS-SDK-static-part.podspec | |
parent | a9959773128f57e05f278d4d67ea167b8b6f73f5 (diff) | |
download | qtlocation-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.podspec | 2 |
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 |