Skip to content

Instantly share code, notes, and snippets.

@viktorbenei
Last active December 22, 2015 10:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save viktorbenei/db60f21990ef7c79275b to your computer and use it in GitHub Desktop.
Save viktorbenei/db60f21990ef7c79275b to your computer and use it in GitHub Desktop.
Code Signing scan, based on the output of "xcodebuild .. clean archive"
#!/bin/bash
set -x
set -e
# use either the -project option, or the -workspace option but not both ;)
xcodebuild -project "YOUR.xcodeproj" OR -workspace "YOUR.xcworkspace" -scheme "a Shared scheme" clean archive | grep -i -e 'Signing Identity' -e 'Provisioning Profile' -e ' ('
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment