Fixed build errors in the dynamic+static scheme by ensuring that both the dynamic and static targets have the same DEFINES_MODULE build setting.
15 lines
369 B
Ruby
15 lines
369 B
Ruby
m.ios.deployment_target = '9.0'
|
|
|
|
m.requires_arc = true
|
|
|
|
m.preserve_paths = '**'
|
|
m.source_files = 'Headers/*.h', 'MGLDummy.m'
|
|
m.resource_bundle = { 'Mapbox' => 'Mapbox.bundle/*' }
|
|
m.vendored_frameworks = 'Mapbox.framework'
|
|
m.module_name = 'Mapbox'
|
|
m.xcconfig = { 'OTHER_LDFLAGS' => '-ObjC' }
|
|
|
|
m.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
|
|
|
|
end
|