Version 8 (modified by bennylp, 15 years ago) (diff) |
---|
iPhone
TracNav
Getting Started- Moved to: https://docs.pjsip.org/en/latest/index.html#get-started
Preparation
Build for Desktop
Build for Mobile
- iOS: Apple iPhone, iPad, and iPod Touch
- Android
- BlackBerry 10 (BB10)
- Windows Mobile
- Windows Phone 8.x and UWP
Symbian...
- Build for Other
Next: Using the libraries
See Also
Apple iPhone target is supported by PJSIP version 1.6.5 and later.
Requirements
You'll need an iPhone SDK. We tested mainly with version 3.x devices, but we tested with building against SDK version 2.x and it builds fine.
Build Preparation
- Get the source code, if you haven't already.
- 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:
- Siphon Project by Samuel Vinson
- TabikPhone, an adaptation of Sipphone code from V-Net Corp
Attachments (1)
-
XCodeCommandLineToolsInstalled.png
(75.5 KB) -
added by ismangil 12 years ago.
Xcode Command Line Tools
Download all attachments as: .zip