How to use pjsip in my own iOS project?

I successfully downloaded the source code for pjsip and compiled it for iphone. I can run the iOS example project that comes with the release. The next step for me is to create my own project that uses pjsip libraries, this is where I am having problems.

I added the same libraries that the sample project uses for my project. I also set the "Header Search Paths" in the "Build Settings" section to "$ {SOURCE_ROOT}". After that, I try to enable the pjsip library by specifying:

#include <pjsua-lib/pjsua.h>

xcode gives me the error "pjsua-lib / pjsua.h file" was not found. Can someone tell me what I am doing wrong?

+5
source share
1

path/to/pjsipprojectfolder/pjsip/include
path/to/pjsipprojectfolder/pjmedia/include
path/to/pjsipprojectfolder/pjnpath/include
path/to/pjsipprojectfolder/pjlib-util/include
path/to/pjsipprojectfolder/pjlib/include

" " " ".

*.h

+7

All Articles