-
-
Save incanus/231ba5fe1844aff2774d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
m.resources = 'MapBox.bundle' | |
m.pre_install do |pod, target_definition| | |
Dir.chdir(pod.root) do | |
command = "xcodebuild -project MapView/MapView.xcodeproj -target Resources CONFIGURATION_BUILD_DIR=../../Resources 2>&1 > /dev/null" | |
unless system(command) | |
raise ::Pod::Informative, "Failed to generate MapBox resources bundle" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment