objective c - Embedding dylib in executable -


i've created cli version of os x app (which app bundle). in bundle version there's pre-compiled .dylib placed within directory executable resides.

this won't work command line version - there way embed within executable?

if want distribute binary version of application related of dylib's may in next ways: 1. make pkg installer put dylib somewhere in system 2. of 3rd parties libraries supports building of static version (*.a) dynamic version. can build static version of libraries , link statically them.


Comments