I have a cocoa plugin in a dashboard widget
<http://veladg.com/velaclockwidget.html> . This is also referred to as a
widget plugin 
<https://developer.apple.com/library/mac/#documentation/appleapplications/co
nceptual/Dashboard_ProgTopics/Articles/WidgetPlugin.html> . I tested the
widget (and plug-in) on a developer preview version of Mountain Lion and it
worked fine. Yesterday, I discovered that it no longer works on the final
version of 10.8 and have lots of customers contacting me.

>From the man page of the the spctl command, the following examples show me
how to check or allow applications to run on the local system:
 spctl -a /Applications/Mail.app   #To check whether Mail.app is allowed to
run on the local system
 spctl --add --label "My Stuff" /Applications/Mail.app   #To allow
Frobozz.app to run on the local system
     
Does anyone know how to use the spctl command to allow a widget plugin to
run? I tried the following command and some variations, but always get the
error: "cannot find code object on disk."
 spctl --add --label "Vela Design Group" \
    "~/Library/Widgets/VelaClock Deluxe.wdgt/VCDeluxePlugin.widgetplugin/"

Or, does anyone know where I can find more documentation or get questions
answered about the spctl command?

The following link under "Code Signing Tasks" and "Using the spctl Tool to
Test Code Signing" has some info, but I can't find the answer to my issue.
https://developer.apple.com/library/mac/#documentation/security/Conceptual/C
odeSigningGuide/Procedures/Procedures.html

Thanks,
Chuck



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to