Signing a quartz composition?

weevil's picture

I'm trying to get around the problem of Quartz Compositions no longer being usable as scrensavers in Mojave. Currently they all seem to give the "You cannot use the screen saver with this version of macOS. Please contact the vendor to get a newer version of the screen saver", message.

Someone suggested that I sign my composition in Editor > Edit Information, but I'm not sure what to add here. Adding values to name and copyright don't seem to have any effect. I do have a signing certificate in Xcode already if that is useful?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Achim Breidenbach's picture
Re: Signing a quartz composition?

I tested code signing a composition to use it as a screensaver in macOS Mojave but it didn't work out.

However, you will need a valid code signing certificate as an Apple Developer to do a valide code signing.

This is a code snippet I use in Apple Script to do code signing for layers in mimoLive:

set filepath to [PATH TO QC-FILE] set layerIdentifier to [A UNIQUE IDENTIFIER FOR YOUR SCREENSAVER] set result1 to do shell script ("codesign --force --sign \"[YOUR DEVELOPER CERTIFICATE AS IT IS LISTED IN KEYCHAIN]\" --identifier \"" & layerIdentifier & "\" \"" & filepath & "\"") as text set result2 to do shell script ("codesign -dv \"" & filepath & "\"") as text