Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
refs #1426: add dummy source file to workaround CocoaPods 0.37.0 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
incanus committed May 6, 2015
1 parent 0b8eaab commit 4ec34cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ios/MapboxGL.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
3 changes: 3 additions & 0 deletions scripts/ios/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ec34cd

Please sign in to comment.