[Mountain Lion] Installation with Gatekeeper
Next version of Apple's operating system will have a new feature nicely named Gatekeeper. This piece of software will restrict by default the installation of any software that is no signed by a developer ID delivered by Apple.
We need to obtain a Mac Developer ID and investigate how to apply it automatically to our builds. MuseScore 1.2 should also be signed. Nightlies should probably signed with another key.
See how Mozilla dealt with this issue : http://blog.mozilla.org/bhearsum/archives/287
http://www.erickdransch.com/blog/2012/02/signing-mac-builds/
The main problem currently is that I don't have any hardware to run the developer preview of Mac 10.8 yet. We will also need to check how we can automate the signing for the nightlies.
Comments
So first task first, get MuseScore 1.2 signed. Without this, any Mountain Lion user who will want to run MuseScore 1.2 on his mac will need to know about GateKeeper and deactivate it to run MuseScore...
I did the following :
codesign -s "Developer ID Application: MuseScore" --resource-rules mscore/packaging/CodeResources -f -v ${APP_PATH}
Next in line, nightlies
TODO
security unlock-keychain -p somepassword ~/Library/Keychains/login.keychain
before calling codesign should work.Sure it is that important for the Nightlies? I mean, who downloads nightlies should know about gatekeeper, or not? Cheers
Nighlies are now signed too! A different certificate is used and the resources folder + the binary are signed, not the rest. The CodeResources file is not used for now. This issue is fixed.
Automatically closed -- issue fixed for 2 weeks with no activity.