Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bypass Gatekeeper in Mac OS X Apps without a Mac Developer Membership

Scenario

I want to release an app for Mac OS X, but not on the AppStore. The app runs on 10.6 - 10.8 and up.

Problem

Apple requires all apps for Mac OS X 10.8+ to be signed by the developer to get past Gatekeeper. And unless I tell each user to temporarily disable and re-enable gatekeeper just for my app, according to this document and the Mountain Lion change log... my app won't be allowed to run.

From the wording on Apple's website, it sounds like I'll have to pay the $99.00 a year for the certificate. However, I do not want to pay the $99 - I'm not publishing to the AppStore!

Question

Is there any way I can get around paying the $99 for distribution on 10.8+? I know my app will work on 10.6 and 10.7, but according to Apple it won't be allowed to run on 10.8 without the certificate. Is that true? How can I distribute on 10.8+ (preferably a DMG) without a $99 distribution certificate? Thanks in advance!

Edit #1

  • DMG files are not authenticated by Gatekepper, only the app itself is.
  • OS X Lion 10.7.5+ also has Gatekeeper * angry face *
like image 782
Sam Spencer Avatar asked Jul 29 '12 17:07

Sam Spencer


People also ask

How do I bypass unverified developer on Mac?

Control-click the app icon, then choose Open from the shortcut menu. Click Open. The app is saved as an exception to your security settings, and you can open it in the future by double-clicking it just as you can any registered app.


1 Answers

Apple currently provides no way to get around Gatekeeper without paying the $99 / year membership fee. To me, this seems unfair because it squishes out the smaller developers (but that's a discussion for elsewhere).

For a rather cumbersome workaround, one can include a ReadMe or note on the download page for their software to explain to users that they need to right click your app and then click 'Open' and then click confirm to run it. I have also found through experimenting that Gatekeeper does not run security checks on DMG files or the installation of files, only the execution / running of Apps. So one could include some kind of note in their DMG installer that told the user exactly how to install and run the app.

Hopefully Apple will provide a workaround for developers (possibly a cheaper solution for a limited membership) that distribute freeware and open source software.

like image 88
Sam Spencer Avatar answered Sep 17 '22 06:09

Sam Spencer