wiki:Getting-Started/iPhone

Version 7 (modified by bennylp, 9 years ago) (diff)

--

iPhone

  1. Requirements
  2. Build Preparation
  3. Building PJSIP
  4. Other iPhone Projects

Apple iPhone is supported from PJSIP version 1.6.5.

Requirements

You'll need an iPhone SDK, and I think that's just it.

Build Preparation

  1. Get the source code, if you haven't already.
  2. Please set your config_site.h to the following:
    #define PJ_CONFIG_IPHONE 1
    #include <pj/config_site_sample.h>
    

Building PJSIP

Just run:

$ cd /your/pjsip/dir
$ ./configure-iphone
$ make dep && make clean && make

Notes:

  • the ./configure-iphone is a shell script that calls the standard ./configure script with settings suitable for iPhone target.
  • the newest iPhone SDK will be selected by default. You may change this by setting SDK environment variable to the SDK path.
  • you may pass standard ./configure options to this script
  • for more info, run ./configure-iphone --help
  • other customizations are similar to what is explained in Building with GNU page.

Other iPhone Projects

Also have a look at these projects by pjsip users:

Attachments (1)

Download all attachments as: .zip