title: handling dependencies for iOS Framework project
body: <p>I've created iOS Framework project using this method: <a href="https://github.com/jverkoey/iOS-Framework" rel="noreferrer">https://github.com/jverkoey/iOS-Framework</a></p>
  
  <p>Works pretty neat but I'm a little confused on how to include libraries/frameworks that are needed by my framework to work and, in particular, how to do it so that in case 3rd party client app that uses my framework can include these libs as well without conflicts.</p>
  
  <p>Let's say my framework code needs these two things:</p>
  
  <ul>
  <li>FacebookSDK.framework</li>
  <li>libFlurry.a</li>
  </ul>
  
  <p>The first one is an iOS Framework. When I add it to "Link Binary With Libraries" phase in my Framework and try compile <strong>the client project</strong> that uses my framework the linker complains about missing symbols - I need to add FacebookSDK to the client project which is great: there is no possibility of conflicts if client apps wants to use Facebook.</p>
  
  <p>However when I do the same with Flurry static library I get duplicate symbols error when compiling client project. Which confuses me a bit, because isn't FacebookSDK.framework just a packaged static library?</p>
  
  <pre><code>ukaszs-iMac:FacebookSDK.framework lukasz$ file Versions/A/FacebookSDK 
  Versions/A/FacebookSDK: Mach-O universal binary with 3 architectures
  Versions/A/FacebookSDK (for architecture i386): current ar archive random library
  Versions/A/FacebookSDK (for architecture armv7):    current ar archive random library
  Versions/A/FacebookSDK (for architecture cputype (12) cpusubtype (11)): current ar archive random library
  </code></pre>
  
  <p>So my questions are:</p>
  
  <ol>
  <li>why a library embedded in framework (like Facebook) is not linked to my Framework project product, whereas library included as .a file is?</li>
  <li>how to include .a file in my framework so that it does not produce duplicate symbols error when client app using my framework also needs this particular static library?</li>
  </ol>