Skip to content

Instantly share code, notes, and snippets.

@elland
Created June 22, 2016 09:42
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
# You might be looking for something like this!
# Remember to set `PROVISIONING_PROFILE_TEAM_ID` to your team ID, it should be an alpha-num string followed by a slash `/`.
# Something like `383GG481A/`. Have fun.
post_install do |installer|
installer.pods_project.build_configurations.each do |build_configuration|
puts "Add code signing to pods"
build_configuration.build_settings['PROVISIONING_PROFILE_SPECIFIER'] = "#{ENV["PROVISIONING_PROFILE_TEAM_ID"]}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment