Last active
January 1, 2016 12:09
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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