Compile pjsip to work for iphone simulator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We simply added a set of #ifdefs DISABLE_VOIP around the calls to pjsua. Then in Xcode we defined a new "configuration" that includes DISABLE_VOIP - where the standard configurations don't include it. 

- "Get info" on your project
- Click configurations
- Duplicate "Debug"
- While still in the Get info window, click "Build" 
- Add -DDISABLE_VOIP to "Other C++ Flags"

Once you do this you can then easily toggle between voip/no-voip builds.

D

On Jul 31, 2010, at 5:39 PM, Antonio D'souza wrote:

> I saw your post at http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2010-June/011129.html and was wondering if you'd mind sharing the change you made to your XCode config to avoid linking against pj as I too need only make UI changes.
> 
> Thank you kindly,
> Tony




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux