First you have to reference the library as a dynamic library.  Add this:<div><pre style="margin-top:15px;margin-bottom:15px;padding:6px 10px;border:1px solid rgb(204,204,204);font-size:13px;font-family:Consolas,'Liberation Mono',Courier,monospace;background-color:rgb(248,248,248);line-height:19px;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(51,51,51)">
<span class="na" style="margin:0px;padding:0px;border:0px;color:rgb(0,128,128)">[assembly: MonoMac.RequiredFramework("cocos2d.dylib")]</span>
<span class="k" style="margin:0px;padding:0px;border:0px;font-weight:bold">namespace</span> <span class="nn" style="margin:0px;padding:0px;border:0px;color:rgb(85,85,85)">YOURNAMESPACE</span></pre><div><br></div>Then add the library as a Content resource to your project.  MonoMac can find it in the Resources folder.  For me I had to add this below to ensure the DLL bindings are fully initialized.  Ideally the RequiredFramework attribute would do this step but I think there is an issue.</div>
<div><pre style="margin-top:15px;margin-bottom:15px;padding:6px 10px;border:1px solid rgb(204,204,204);font-size:13px;font-family:Consolas,'Liberation Mono',Courier,monospace;background-color:rgb(248,248,248);line-height:19px;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(51,51,51)">
    <span class="k" style="margin:0px;padding:0px;border:0px;font-weight:bold">public</span> <span class="nf" style="margin:0px;padding:0px;border:0px;color:rgb(153,0,0);font-weight:bold">AppDelegate</span> <span class="p" style="margin:0px;padding:0px;border:0px">()</span>
    <span class="p" style="margin:0px;padding:0px;border:0px">{</span>
        <span class="n" style="margin:0px;padding:0px;border:0px">Type</span> <span class="n" style="margin:0px;padding:0px;border:0px">t</span> <span class="p" style="margin:0px;padding:0px;border:0px">=</span> <span class="k" style="margin:0px;padding:0px;border:0px;font-weight:bold">typeof</span><span class="p" style="margin:0px;padding:0px;border:0px">(</span><span class="n" style="margin:0px;padding:0px;border:0px">CCDirector</span><span class="p" style="margin:0px;padding:0px;border:0px">);</span>
        <span class="n" style="margin:0px;padding:0px;border:0px">MonoMac</span><span class="p" style="margin:0px;padding:0px;border:0px">.</span><span class="n" style="margin:0px;padding:0px;border:0px">ObjCRuntime</span><span class="p" style="margin:0px;padding:0px;border:0px">.</span><span class="n" style="margin:0px;padding:0px;border:0px">Runtime</span><span class="p" style="margin:0px;padding:0px;border:0px">.</span><span class="n" style="margin:0px;padding:0px;border:0px">RegisterAssembly</span><span class="p" style="margin:0px;padding:0px;border:0px">(</span><span class="n" style="margin:0px;padding:0px;border:0px">t</span><span class="p" style="margin:0px;padding:0px;border:0px">.</span><span class="n" style="margin:0px;padding:0px;border:0px">Assembly</span><span class="p" style="margin:0px;padding:0px;border:0px">);</span> 
    <span class="p" style="margin:0px;padding:0px;border:0px">}</span></pre></div><div><br><div class="gmail_quote">On Fri, Aug 31, 2012 at 4:21 PM, tlapse <span dir="ltr"><<a href="mailto:tlapse@gmail.com" target="_blank">tlapse@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm getting close, but still no joy.<br>
<br>
How do I link a MonoMac project with my library?  MyLibrary.a<br>
This article...<br>
<a href="http://www.mono-project.com/MonoMac/Documentation/Binding_New_Objective-C_Types" target="_blank">http://www.mono-project.com/MonoMac/Documentation/Binding_New_Objective-C_Types</a><br>
.. shows how to do it with mono touch.<br>
But what about monomac?<br>
<br>
What is the equivalent of setting these flags in "iPhone Build's" extra<br>
argument?<br>
<br>
-gcc_flags "-L${ProjectDir} -lMylibrary -force_load -lSystemLibrary<br>
-framework CFNetwork -ObjC"<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://mono.1490590.n4.nabble.com/Binding-Objective-C-Types-tp4656457.html" target="_blank">http://mono.1490590.n4.nabble.com/Binding-Objective-C-Types-tp4656457.html</a><br>
Sent from the Mono - OSX mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Mono-osx mailing list<br>
<a href="mailto:Mono-osx@lists.ximian.com">Mono-osx@lists.ximian.com</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-osx</a><br>
</blockquote></div><br></div>