Last october, I shared a plugin to QuickLook your Mobile Provision files for iPhone. If you haven’t downloaded it yet, well… it’s your choice. I don’t know, maybe in a loyal act of faith, you have decided to trust Xcode and the code signing process to Just Work ®.
I have just updated this plugin. Please welcome the version 1.1. Download it here.
Let’s chat about the new feature, a command line tool: mobileprovision.
By default, the tool will install itself in /usr/local/bin.
Here is the synopsis and usage:
./mobileprovision [OPTIONS] MOBILE_PROVISION_FILE[...]
–udids (-u) Print a list of all the UDIDs
–quiet (-q) Do not print general informations of the profile. Useful if you only care about the UDIDs
–plist (-p) Output with plist format
–json (-j) Output with json format
and the default output:
Profile name: MacMation_Dev
Creation Date: 2011-10-21 14:20:15 +0000
Expiration Date: 2012-10-20 14:20:15 +0000
App ID: J5P3S99ZU6.*
Number of UDIDs: 14
If you only want the udids, use:
mobileprovision –udids –quiet
Let me know if you integrate this command in your continuous integration system, or find some clever use for it.
This version also brings a few improvements:
You can now see the ID of the Profile. To make it appear, click on the name of the profile (next to the green checkmark). To see the name back, just click again.
The detection of known devices has been updated to the new way Xcode stores this information. This means you will get back the useful name and pop-up bubble next to the UDID of a device that has been plugged in on to your machine.
If you installed the new version but still see the number 1.0 in the left-bottom box, make sure you did not install the previous version for all users (in /Library/QuickLook) and this version only for you (in ~/Library/QuickLook). Mac OS X loads the version in /Library/QuickLook in priority.
I’m really happy to receive feature and improvement suggestions. Bug report, well, I have mixed feelings… but send them anyway!