[Mono-osx] bmac and dylib question

Michael Hutchinson m.j.hutchinson at gmail.com
Mon Feb 6 17:56:24 UTC 2012


On 6 February 2012 10:51, Raymond Reggers <raymond at adaptiv.nl> wrote:
> I guess this is most likely caused because my dylib is not referenced? But
> how should I include this dylib in my MonoMac project?

MonoTouch projects don't yet have support for copying dylibs into the
app bundle. I would suggest adding a postbuild steps that runs a cp
command to do this.

> I've tried using "Add native reference" in my MonoMac project. But this
> doesn't seem to work. I also read about including gcc_flags like this for
> example:
>
> -gcc_flags "-L${ProjectDir} -lMylibrary -force_load -lSystemLibrary
> -framework CFNetwork -ObjC"
>
> Where should I add these in my MonoDevelop / MonoMac project?

You don't, gcc_flags only applies to MonoTouch.


-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Mono-osx mailing list