Bug 3490 - MonoMac addin needs support for Sandbox apps
Summary: MonoMac addin needs support for Sandbox apps
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Mac Add-in ()
Version: 3.0.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2012-02-16 00:16 UTC by Curtis Wensley
Modified: 2012-11-16 17:13 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Curtis Wensley 2012-02-16 00:16:42 UTC
MonoMac sandboxed apps must be signed with the entitlements.  The Addin should include a way to select the entitlements file to use when packaging/signing.

To include sandboxing, all that (seems) to be needed is passing the --entitlements option (with the path to the entitlements file) to the codesign command when signing the .app bundle.

The entitlements file would include the necessary properties to enable sandboxing.

xcode seems to also 'translate' the .entitlements file to an .xcent using builtin-productPackagingUtility, but this didn't seem necessary..
Comment 1 Miguel de Icaza [MSFT] 2012-02-20 11:37:34 UTC
Thanks for the research.

We have a call on Wednesday to figure out how to modify MonoMac's addin for this.
Comment 2 Jeffrey Stedfast 2012-11-16 17:13:03 UTC
Implemented :-)