title: iOS app crashes when launched on external device but works fine on simulator. "code signature invalid for"
body: <p>Every time I build/run the app on the Xcode simulator the app works fine. Once I plugin my iPhone to test the app it crashes with a SIGABPT. </p>
  
  <p><strong><em>OUTPUT</em></strong></p>
  
  <p>dyld: Library not loaded: @rpath/CodableFirebase.framework/CodableFirebase
    Referenced from: /private/var/containers/Bundle/Application/23983622-E659-443F-B061-3EAABABC0BA8/LLV1.app/LLV1
    Reason: no suitable image found.  Did find:
      /private/var/containers/Bundle/Application/23983622-E659-443F-B061-3EAABABC0BA8/LLV1.app/Frameworks/CodableFirebase.framework/CodableFirebase: code signature invalid for '/private/var/containers/Bundle/Application/23983622-E659-443F-B061-3EAABABC0BA8/LLV1.app/Frameworks/CodableFirebase.framework/CodableFirebase'</p>
  
  <pre><code>/private/var/containers/Bundle/Application/23983622-E659-443F-B061-3EAABABC0BA8/LLV1.app/Frameworks/CodableFirebase.framework/CodableFirebase: stat() failed with errno=25
  /private/var/containers/Bundle/Application/23983622-E659-443F-B061-3EAABABC0BA8/LLV1.app/Frameworks/CodableFirebase.framework/CodableFirebase: code signature invalid for '/private/var/containers/Bundle/Application/23983622-E659-443F-B061-3EAABABC0BA8/LLV1.app/Frameworks/CodableFirebase.framework/CodableFirebase'
  
  /private/var/containers/Bundle/Application/23983622-E659-443F-B061-3EAABABC0BA8/LLV1.app/Frameworks/CodableFirebase.framework/CodableFirebase: stat() failed with errno=1
  /private/var/containers/Bundle/Application/23983622-E659-443F-B061-3EAABABC0BA8/LLV1.app/Frameworks/CodableFirebase.framework/CodableFirebase: code signature invalid for '/private/var/containers/Bundle/Application/23983622-E659-443F-B061-3EAABABC0BA8/LLV1.app/Frameworks/CodableFirebase.framework/CodableFirebase'
  
  /private/var/containers/Bundle/Application/23983622-E659-443F-B061-3EAABABC0BA8/LLV1.app/Frameworks/CodableFirebase.framework/CodableFirebase: stat() failed with errno=1
  </code></pre>
  
  <p><em>List of things I have tried.</em></p>
  
  <ol>
  <li>Changing pod file and adding "use_modular_headers!" </li>
  <li>Restarting XCode</li>
  <li>Restarting computer</li>
  <li>Changing Code Signing Identity in Build Settings</li>
  </ol>