Is there a standard way to incorporate C++ helper apps?

I am hoping that there is a well-established way to incorporate a C++ executable into a Xojo desktop app that signs for the App Store. It seems like it boils down to the executable expecting its dylibs in a folder called ‘lib’ where the compiled OS X app puts them in ’Frameworks.’ If so, does a simple edit to the C source and a recompile solve the problem? (I am not unix/C literate so I will have to find someone to advise. Right now I just want to know what I am up against. The program I need is current, well-maintained and has a cmake file at proj.org.)

How have folks handled this situation in the past?

You can add or change the rpath for an existing binary with

install_name_tool

Keep in mind that you’ll need to re-sign the binary.

1 Like