I’m trying to install pjsip on the iPhone simulator, but I have un into problems. I followed the tutorial from http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone , and did the following steps:
pjproject-2.0.1 $ export DEVPATH=/Developer/Platforms/iPhoneSimulator.platform/Developer
pjproject-2.0.1 $ export CC=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0
pjproject-2.0.1 $ ./configure-iphone configure-iphone error: directory /Developer/Platforms
/iPhoneSimulator.platform/Developer does not exist. Please install iPhone development kit
What am I missing here. Could someone please give me some clues as to how to proceed in resolving this error?
If you are using the latest SDK then the paths are incorrect because the latest Xcode and iOS SDK has the Developer folder within the Xcode app folder. (
/Applications/Xcode.app/Contents/)Change your exports to the following