title: Xcode: create Framework with pod dependecies
body: <p>I create a framework that use AFNetworking (installed with pod).  </p>
  
  <p>I can import this framework on my project and I can use all classes/methods that I exposed, so project compile.</p>
  
  <p>When I try to run project on simulator, I obtain this error:</p>
  
  <blockquote>
    <p>dyld: Library not loaded: @rpath/AFNetworking.framework/AFNetworking<br>
    Referenced from:
    /Users/.../Library/Developer/CoreSimulator/Devices/F56F98F0-2AE0-4C87-AC9A-6E3B449762D1/data/Containers/Bundle/Application/BFA5359F-8FCE-4402-8487-CD9C002CB673/MyProject.app/Frameworks/MyFramework.framework/MyFramework
    Reason: image not found</p>
  </blockquote>
  
  <p>I already included 'MyFramework' under:</p>
  
  <pre><code>Build phases -&gt; Embed Frameworks
  </code></pre>
  
  <p>I suppose I missing something on building Frameworks, but I can find out what! I already seen this <a href="https://stackoverflow.com/questions/30593188/ios8-and-xcode-how-to-distribute-an-embedded-framework-with-cocoa-pod-dependen">unanswered question</a>.</p>
  
  <p>Who can I use MyFramework without installing Pod on MyProject again?</p>