refs #1426: add dummy source file to workaround CocoaPods 0.37.0 bug
This commit is contained in:
@@ -22,7 +22,7 @@ Pod::Spec.new do |m|
|
||||
m.requires_arc = true
|
||||
|
||||
m.preserve_paths = '**'
|
||||
m.source_files = 'Headers/*.h'
|
||||
m.source_files = 'Headers/*.h', 'MGLDummy.m'
|
||||
m.resource_bundle = { 'MapboxGL' => 'MapboxGL.bundle/*' }
|
||||
m.vendored_library = 'libMapboxGL.a'
|
||||
|
||||
|
||||
@@ -85,6 +85,9 @@ for i in `ls -R include/mbgl/ios | grep -vi private`; do
|
||||
cp -pv include/mbgl/ios/$i "${OUTPUT}/static/Headers"
|
||||
done
|
||||
|
||||
step "Setting up dummy source file for CocoaPods 0.37.0..."
|
||||
echo "// https://github.com/mapbox/mapbox-gl-native/issues/1426" > "${OUTPUT}/static/MGLDummy.m"
|
||||
|
||||
|
||||
# Manually create resource bundle. We don't use a GYP target here because of
|
||||
# complications between faked GYP bundles-as-executables, device build
|
||||
|
||||
Reference in New Issue
Block a user