I'm currently building an external that requires an external dynamic library.
It works fine in Windows.
In Mac OSX, I first had trouble linking the dylib - no matter how I set the copy build phase to get the dylib into the Frameworks, Executable or Resources folder of the external app bundle, it fails to load with an error stating the dylib cannot be found. I understand this is a standard dylib issue. A quick fix is by putting the dylib into /usr/lib, and it no longer complains. However, then it simply fails to load without any error output. I have tried debugging by attaching XCode to the Max Runtime, and loading a patch containing the external, but it looks like its failing before the external code is loading (doesn't trigger breakpoints in the constructor). I think the debugging environment is set up properly as I can hit the breakpoints correctly if I try to load another sample external that works.
Anything to point me in the right direction would be greatly appreciated. Thanks in advance!
*edit* I've set up the library now using rpath and bundled into the .mxo, so it loads more elegantly, but still, the external that uses the object just turns up red, without any error output.