c++ - Application bundle with dylib -


all,

first of every question on topic deployment ready use application. situation different.

i developing application on mac xcode 5.1.1 (meaning i'm still writing code) c++. application contains main binary executable (which set cocoa bundle application) , couple of dylib libraries (which i'm writing , have control over).

the trouble comes fact @ point test code. project main application in "build phases->link binary libraries" references libraries binary uses , dylib's have dependencies there.

now when i'm trying call dlopen, call fails because dylib files can not found.

so questions are:

  1. should dylib files stored in bundle?
  2. if yes - how put them there? because presume whatever did not enough.
  3. if not - correct way of testing code?

thank information can provide.

the dylibs not stored in app bundle compiled app , included binary executable, include them add them target dependencies , link libraries in "build phases" there no need dlopen

and include headers like:

#include "dylib.h" 

Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo