title: How do I use a dynamic shared library in a C++ xcode project?
body: <p>I have created a new project in XCode (using the template "STL C++ library"), and have made a little test function <code>void hello();</code> that prints to the console.</p>
  
  <p>It compiles fine, and I am able to export a dylib file.</p>
  
  <p>What I can't figure out is how to create a project that then links to this file and can call the <code>hello()</code> method.</p>
  
  <p>Any advice would be greatly appreciated.</p>
  
  <p>Alex.</p>