Open azav opened 8 years ago
A solution to this would be to go to Build Settings for the project, select Preprocessor Macros and add this entry: PJ_AUTOCONF
I've done this for the debug build and it works to build the lib. Reference here: http://www.xianwenchen.com/images/2014-07-15-4.add-pj-autoconf.png http://www.xianwenchen.com/blog/2014/07/15/how-to-make-an-ios-voip-app-with-pjsip-part-5/
I have added PJ_AUTOCONF for Preprocessor Macros, but am still getting these errors when running on my iPhone
Adding this compiler flag in the pjsip-ios.xcodeproj and not the parent project works for me.
I have added PJ_AUTOCONF in Preprocessor Macros, but I am getting still this error
I haven't tried a recent build. If time permits, I'll see what I can do.
Take a look at the VialerSipLib example project. You need to set PJ_AUTOCONF=1 as the preprocessor macro.
Adding this compiler flag in the pjsip-ios.xcodeproj and not the parent project works for me.
could you please describe more specific??. i really appreciated your help
@buitunglam , select the pjsip project on libraries then go to "Build Settings", filter by "Preprocessor Macros Not used in Precompiled Headers" and set PJ_AUTOCONF=1 for Debug and Release.
Mac OS 10.11.1 Xcode 7.1
Results: These following errors: Please select target machine. PJ_HAS_PENTIUM is not defined! PJ_IS_LITTLE_ENDIAN is not defined! PJ_IS_BIG_ENDIAN is not defined!
PJ_CONFIG_IPHONE is defined to 1 in config_site.h. This happens on a fresh download and build attempt.