title: How do you compile PJSip iPhone for both Device & Simulator to work with siphon on iOS 3 & iOS 4?
body: <p>I am attempting to compile and run <a href="http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone" rel="nofollow">pjsip</a> and <a href="http://code.google.com/p/siphon/" rel="nofollow">siphon</a> for iOS 3 and iOS 4.</p>
  
  <p>I am following the instructions via pjsip.org site on "Getting Started" for iPhone.</p>
  
  <p>I am also following the instructions on siphon's site.</p>
  
  <p>My goal is to get siphon's application working on my device and simulator for both iOS 3 and iOS4, but just getting past the compilation stage of pjsip has been a headache.</p>
  
  <p>So I decided to just compile for the device, and at least get siphon up and running, but that seems to be more of a headache.</p>
  
  <p>The compilation instructions are not clear (at least not to me as a beginner) and moreover, there are two sets of compilation instructions: 1) a read me inside the source code, and 2) on the wiki page of the site.</p>
  
  <p>My questions are as such:</p>
  
  <ol>
  <li>What are the step by step instructions on getting pjsip &amp; siphon to
  compile and run on both Device &amp; Simultaor for iOS 3 and 4.  (I am
  aware of the lipo command, but I'm not clear how to use it,
  considering there are many many files, and too much opportunity to
  make mistakes)</li>
  <li>Should I be working with pjsip version 1.x or version 2.x ?</li>
  <li>Is siphon up-to-date?</li>
  <li>Within the siphon source directory, there is a siphon2 and siphon4
      directory ... yet only within the siphon2 directory is there an
      .xcodeproj.   How do implement the siphon4 project files?</li>
  </ol>