Last active
July 18, 2016 13:46
-
-
Save chrislonge/6c1d017d5e80569a3d0dd756e9100d98 to your computer and use it in GitHub Desktop.
post_install CocoaPod script to loop and print all targets and build configurations
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
post_install do |installer| | |
installer.pods_project.targets.each do |target| | |
puts "#{target}" | |
target.build_configurations.each do |config| | |
puts "#{config}" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment