title: Xcode - how to include c library and header file to cocoa project?
body: <p>How do I add c library to Xcode Cocoa project?</p>
  
  <p>Or what is the best option, I don't want to copy them into Cocoa project directory.</p>
  
  <p>I have a C project called <code>a</code> which compiles into library <code>a.dylib</code> and header file <code>a.h</code>, the project is located in it's own directory.</p>
  
  <p>I want to use this library from my objective-c application in Xcode.</p>
  
  <p>How do I add the header file and library to my Xcode project?</p>
  
  <p>I can drag the <code>a.dylib</code> into <code>other frameworks</code> but what do I do with <code>a.h</code>?</p>