title: XCode 4.2 and Using a Static Library Causing Problems
body: <p>Like many others here SO, I am having issues using libraries in my XCode workspace.  The idea is I have my main project (<code>MyApp</code>) and two libraries (<code>lib1</code> and <code>lib2</code>) which were added to the workspace after the code was finalized.</p>
  
  <p>For background, <code>lib1</code> is dependent on lib2, since there are some protocols that need to be implemented in order to make use of <code>lib2</code>.  <code>MyApp</code> is dependent on both.  I have tried following the Apple guides, which implies what I would like to is simple.  After that, I have followed pretty much every post here on SO that has come up in my searches (2 days worth of Googling), plus many other blogs and posts that claim to have solutions, many of which are XCode 3 specific.</p>
  
  <p>Yet, my project does not build.  I am using Xcode 4.2 on OS 10.6 (upgrading to Lion is not an option).  Is there a simple tutorial to follow on how to create a library project, and use this library in an application.</p>
  
  <p>I came across <a href="https://stackoverflow.com/a/9065336/620197">this answer</a> while writing this question (where the question had the same error I had), which I will look into, but I have reached the point of copying source files over just to get a demo working.</p>
  
  <p>UPDATE:</p>
  
  <p>Here is list of issues that have come up.  I will add more when they arise:</p>
  
  <ul>
  <li><code>**directory not found for option '-L/Users/myhomedir/iphoneprojects/MyApp/../BLProfile/build/Release-iphoneos'**</code></li>
  </ul>