Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

14
I was tired of managing provisioning profiles with outdated tools or by hand....so I wrote something to fix it!
Post Body

Hi, everyone. As I'm sure many of you are aware, having multiple apps and/or multiple developer accounts and doing ad hoc provisioning can be a nightmare when it comes to managing and updating provisioning profiles.

I work for a company that maintains a dozen or so clients' apps. This means they're constantly wanting new ad hoc betas for new devices, or I'm adding our own test devices to accounts. This means regenerating and downloading provisioning profiles and installing them on machines. That is annoying by itself, however now you likely have 2 of the same profile with different expiration dates and different devices that they support. Xcode can do some auto-generating, or team * provisioning, but push notifications don't really like that. Xcode's "automatic" is usually anything but that, and still often results in duplicates or ambiguity. Xcode used to allow provisioning profile management, or at worst you could use the iPhone Configuration Utility. Since the former is gone and the latter is slowly becoming difficult to find, I elected to write a better solution today.

This is the culmination of around 8.5 hours work. It's my first 'real' Mac app, although I've been doing iOS around 6 years. I'm sure the OS X coding is really, really rough around the edges and terrible in oh-so-many ways. But, in 8 hours I managed to get something nice up and running on AppKit in OS X. Cool.

I call it: Provision (or the yet unnamed provisioning app)

Here's a redacted screenshot. (238 profiles -> 58 after cleanup)

Here's a Github link.

Here's a download link.

Video demo

NOTE: I've tested it fairly well, but it didn't exist earlier today....so if you're paranoid / unsure / want to be safe, take a backup of your provisioning profiles directory first. You can find your profiles here: ~/Library/MobileDevice/Provisioning Profiles

Current Features

  • Automatically remove duplicate profiles.

  • Automatically remove expired profiles.

  • Delete provisioning profiles.

  • Import new profiles (while checking for duplicates or newer copies).

  • Search profiles.

  • View metadata for provisioning profiles.

  • Double-click to open file in Finder.

  • Managed OS X Server & Local User.

  • Emoji status indicators since I'm not a designer.

Roadmap

  • Monitoring the Downloads folder for new profiles, then auto-importing them.

  • Automatic, continous cleanup of expired / duplicate profiles.

  • Bonjour syncing for teams.

  • Syncing profiles with Dropbox / Server / etc.

  • Monitor selected project folders and auto-importing profiles.. This would allow provisioning profiles to be version controlled, and auto-detectd / installed for fresh checkouts. Great for teams!

  • Real app name.

  • Real app icon.

  • Icons for the rest of the app.

I'd say its not bad work for ~8 hours of someone new to OS X dev. If you can help with any of this, or have questions. Feel free to drop me a line. I hope you like the beginnings of this and find it useful.

On a sidenote, this is both my first OS X app and my first open-source app. Most of my work is proprietary. :( I'm interested in seeing how this goes, although i'm expecting to get hit pretty hard for the copy/paste/newbie coding quality of the app. Gotta start somewhere with OS X dev, better late than never!

If you have any feedback or ideas, leave me a comment below!

If you read all of this, thanks for your time. :)

--brendan09

Author
Account Strength
100%
Account Age
14 years
Verified Email
Yes
Verified Flair
No
Total Karma
16,357
Link Karma
2,431
Comment Karma
13,926
Profile updated: 2 days ago
Posts updated: 7 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
9 years ago