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.
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)
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
Subreddit
Post Details
- Posted
- 9 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/iOSProgramm...