title: Create static library in Xcode 4
body: <p>I can't figure out how to create a cocoa touch static library in Xcode 4. </p>
  
  <p>I've created static library in Xcode 3 and it worked fine. I used <a href="http://www.youtube.com/watch?v=fFn2o0aEbRQ" rel="nofollow noreferrer">this tutorial</a>. Thanks for the help.</p>
  
  <p>First step I create cocoa touch static library</p>
  
  <p><img src="https://i.stack.imgur.com/Bl2A9.png" alt="enter image description here"></p>
  
  <p>Next we can see our static library in product directory. But now this uncompiled library.</p>
  
  <p><img src="https://i.stack.imgur.com/KgkrB.png" alt="enter image description here"></p>
  
  <p>Next step I add some objective-c class. This class is will perform various actions, for example show NSLog messages.</p>
  
  <p><img src="https://i.stack.imgur.com/nc7vV.png" alt="enter image description here"></p>
  
  <p>Then I made sure there is this class exist in compile source </p>
  
  <p><img src="https://i.stack.imgur.com/iLMNw.png" alt="enter image description here"></p>
  
  <p>After that I build my target</p>
  
  <p><img src="https://i.stack.imgur.com/edo0H.png" alt="enter image description here"></p>
  
  <p>Now I use this static library in other projects, but when I use it I get a error when linking files with my static library.</p>