[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:
@@ -9,4 +9,6 @@
|
||||
m.module_name = 'Mapbox'
|
||||
m.xcconfig = { 'OTHER_LDFLAGS' => '-ObjC' }
|
||||
|
||||
m.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
|
||||
|
||||
end
|
||||
|
||||
@@ -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)",
|
||||
|
||||
Reference in New Issue
Block a user