Skip to content

Instantly share code, notes, and snippets.

@chrislonge
Last active July 18, 2016 13:46
Show Gist options
  • Save chrislonge/6c1d017d5e80569a3d0dd756e9100d98 to your computer and use it in GitHub Desktop.
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
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