Last active
August 29, 2015 14:01
-
-
Save wdragen/edfc4bc60e3542fe986c to your computer and use it in GitHub Desktop.
find ios mobileprovision file uuid
This file contains hidden or 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
| # double click your downloaded mobileprovision file firstly. | |
| # And xcode will copy it to the ~/Library/MobileDevice/Provisioning\ Profiles directory with uuid as its file name | |
| provision_file="file path to your mobileprovision" | |
| export target_md5="$(md5 -q $provision_file)";find ~/Library/MobileDevice/Provisioning\ Profiles '*.mobileprovision' -print0|xargs -0 md5|grep $target_md5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment