title: iOS: Migrating Cocoapods from Dynamic Libraries to Static Libraries
body: <p>I am trying to transition from dynamic libraries (via use_frameworks!) to static libraries in a project that the uses cocoapods to handle external dependencies. The project is a combo of swift &amp; objc.</p>
  
  <p>One of these dependencies is an internal swift cocoapod. However, when I try to build, I get the following message:</p>
  
  <p><code>Cannot load underlying module &lt;our_internal_cocoapod&gt;</code></p>
  
  <p>Additionally, the <code>ProjectName-swift.h</code> is not found, I am assuming it is not being generated.</p>
  
  <p>Things I've tried:
  1. cleaning &amp; building
  2. deleting derived data
  3. reinstalling cocoa pods</p>
  
  <p>All to no avail. How can I resolve this? Help greatly appreciated!</p>