How to build and compile PJSIP using xCode and run the sample code IPJSUA?
Please check below link. You can get source code from there and biuld for both device and simulator.
https://github.com/radif/SIPHON-SIP-Client-that-actually-compiles