<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Nur Text Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.NurTextZchn
        {mso-style-name:"Nur Text Zchn";
        mso-style-priority:99;
        mso-style-link:"Nur Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-AT link=blue vlink=purple><div class=WordSection1><p class=MsoPlainText>&gt; IIRC, no you don't<o:p></o:p></p><p class=MsoPlainText>Thanks<o:p></o:p></p><p class=MsoPlainText><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoPlainText><span lang=EN-US>This means that I only have to add the following parameters to my codesign call: &quot;--entitlements MyEntitlements.plist&quot;<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>Is this correct? Because I already tried this but then if I launch my app the application crashes.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p>&nbsp;</o:p></span></p><p class=MsoPlainText><span lang=EN-US>The file MyEntitlements.plist contains:<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:gray'>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:gray'>&lt;!DOCTYPE plist PUBLIC &quot;-//Apple//DTD PLIST 1.0//EN&quot; &quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&quot;&gt;<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:gray'>&lt;plist version=&quot;1.0&quot;&gt;<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:gray'>&lt;dict&gt;<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:gray'>        &lt;key&gt;com.apple.security.app-sandbox&lt;/key&gt;<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:gray'>        </span><span style='font-size:10.0pt;font-family:"Courier New";color:gray'>&lt;true/&gt;<o:p></o:p></span></p><p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Courier New";color:gray'>&lt;/dict&gt;<o:p></o:p></span></p><p class=MsoPlainText><span style='font-size:10.0pt;font-family:"Courier New";color:gray'>&lt;/plist&gt;<o:p></o:p></span></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText><span lang=DE>-----Ursprüngliche Nachricht-----<br>Von: Sean McBride [mailto:sean@rogue-research.com] <br>Gesendet: Dienstag, 22. November 2011 18:38<br>An: NoRulez; 'David Cole'<br>Cc: 'CMake MailingList'<br>Betreff: Re: AW: [CMake] CMake and Sandboxed Mac OS X app</span><o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>On Tue, 22 Nov 2011 18:35:42 +0100, NoRulez said:<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>&gt;did you know if I also need special compiler and/or linker flags?<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>That's more of an Xcode question than a CMake question... IIRC, no you don't.  You just need to add your entitlements file and codesign.  But it's been a few months since I played with App Sandbox.  It's still half-baked and I gave up on it.<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText>-- <o:p></o:p></p><p class=MsoPlainText>____________________________________________________________<o:p></o:p></p><p class=MsoPlainText>Sean McBride, B. Eng                 <a href="mailto:sean@rogue-research.com"><span style='color:windowtext;text-decoration:none'>sean@rogue-research.com</span></a><o:p></o:p></p><p class=MsoPlainText>Rogue Research                        <a href="http://www.rogue-research.com"><span style='color:windowtext;text-decoration:none'>www.rogue-research.com</span></a> <o:p></o:p></p><p class=MsoPlainText>Mac Software Developer              Montréal, Québec, Canada<o:p></o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p><p class=MsoPlainText><o:p>&nbsp;</o:p></p></div></body></html>