Skip to content

Instantly share code, notes, and snippets.

@sragu
Last active January 1, 2016 12:09
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 sragu/8142755 to your computer and use it in GitHub Desktop.
Save sragu/8142755 to your computer and use it in GitHub Desktop.
ios read the mobiprovision file name from ipa Usage: ios_provision_name ./build/uat/ShinyiOSApp.ipa
#!/bin/sh
unzip -p $1 Payload/*.app/embedded.mobileprovision | strings | grep -A1 '<key>Name</key>' | tail -n1 | awk -F'[<>]' -v file=$1 '{print $3, " -> ", file}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment