[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.
This commit is contained in:
Minh Nguyễn
2018-09-26 00:48:50 -07:00
parent a995977312
commit 871aebffca
2 changed files with 4 additions and 0 deletions

View File

@@ -9,4 +9,6 @@
m.module_name = 'Mapbox'
m.xcconfig = { 'OTHER_LDFLAGS' => '-ObjC' }
m.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end

View File

@@ -3783,6 +3783,7 @@
baseConfigurationReference = 55D8C9941D0F133500F42F10 /* config.xcconfig */;
buildSettings = {
BITCODE_GENERATION_MODE = bitcode;
DEFINES_MODULE = YES;
HEADER_SEARCH_PATHS = (
"$(mbgl_core_INCLUDE_DIRECTORIES)",
"$(mbgl_filesource_INCLUDE_DIRECTORIES)",
@@ -3814,6 +3815,7 @@
baseConfigurationReference = 55D8C9941D0F133500F42F10 /* config.xcconfig */;
buildSettings = {
BITCODE_GENERATION_MODE = bitcode;
DEFINES_MODULE = YES;
HEADER_SEARCH_PATHS = (
"$(mbgl_core_INCLUDE_DIRECTORIES)",
"$(mbgl_filesource_INCLUDE_DIRECTORIES)",