Skip to content

Instantly share code, notes, and snippets.

@elland
Created June 22, 2016 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elland/da823409b2afed9238973b71160905a7 to your computer and use it in GitHub Desktop.
Save elland/da823409b2afed9238973b71160905a7 to your computer and use it in GitHub Desktop.
# 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