title: cocoapods in library not found in app extension
body: <p>I have an app and accompanying extension, with a cocoa touch framework in the same project containing most of the shared code. The problem I'm faced with is that the cocoapods that the framework depends on are not found when compiling the app extension. The framework target compiles just fine, but when I compile the extension target I get a bunch of 'unresolved identifier' errors.</p>
  
  <p>The problem does not seem to be that the framework is not being linked as I can access classes defined within it just fine from the extension. I have looked at other questions such as <a href="https://stackoverflow.com/questions/22271300/category-not-found-in-cocoapods-library">this one</a>, but nothing I've seen seems to solve my problem.</p>
  
  <p>Any help would be greatly appreciated!</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>The problem was solved by creating a separate bridging header for the extension. Hope this can help someone else!</p>
  
  <p><strong>EDIT 2:</strong></p>
  
  <p>Unfortunately this solution causes the warning</p>
  
  <pre><code>Class AFHTTPRequestOperation is implemented in both path/myFramework and
  path/myWidget.appex/myWidget. One of the two will be used. Which one is undefined.
  </code></pre>
  
  <p>An explanation of why this happens and how to avoid it would by much appreciated.</p>