title: Xcode builds successfully a corrupted archive, not showing in organizer, as soon as cocoapods installs react-native-mapbox-gl from Podfile
body: <p>The problem <a href="https://stackoverflow.com/questions/53575731/xcode-archive-not-showing-in-organizer">seems not new</a>, <a href="https://stackoverflow.com/questions/34433818/xcode-7-2-successful-archives-will-not-show-in-organizer-but-will-show-in-archi/45925542#45925542">as here</a>, but the solutions proposed didn't work.
  I tried also several other approaches to understand what's going on (<a href="https://github.com/mapbox/mapbox-navigation-ios/issues/2674#issuecomment-730866222" rel="noreferrer">see here</a>).
  To replicate, this is the process:</p>
  <ul>
  <li><p>I have a working iOS App written in Swift.</p>
  </li>
  <li><p>I follow the description to integrate this app with Native React <a href="https://reactnative.dev/docs/_integration-with-exisiting-apps-swift" rel="noreferrer">this procedure</a></p>
  </li>
  <li><p>I add to the package.json the following dependencies, and run <code>yarn install</code>:
  <code>&quot;@react-native-mapbox-gl/maps&quot;:&quot;^8.1.0-rc.9&quot;,</code>
  <code>&quot;prop-types&quot;: &quot;^15.6.2&quot;,</code></p>
  </li>
  <li><p>I run <code>pod install --repo-update</code> and Archive on Xcode.
  OUTPUT: At this point the organizer displays my Archive.</p>
  </li>
  <li><p>I implement a basic view on mapbox following this procedure</p>
  </li>
  <li><p>I add to the Podfile requiring <code>use_framework!</code>,  <a href="https://github.com/react-native-mapbox-gl/maps/blob/master/ios/install.md" rel="noreferrer">as described here</a> or after <code>use_framework!</code>, no difference in the result after I hit <code>pod install --repo-update</code>.</p>
  </li>
  <li><p>I hit Archive on Xcode.
  OUTPUT: the archive is generated successfully, but doesn't show up on the organizer. If I try to open it, the archive is corrupted.</p>
  </li>
  </ul>
  <p>If I remove the pod file of mapbox and I Archive the project after hitting <code>pod install --repo-update</code>, the archive works and shows up in the organizer. <a href="https://github.com/mapbox/mapbox-navigation-ios/issues/2674#issuecomment-730866222" rel="noreferrer">Here the same description</a>.</p>
  <p>The project runs both as debug and release on a real iPhone 8. Mapbox works well. However, it doesn't work on simulator, nor archive. I can leave with the former, but I can't push on App store because of the latter.</p>
  <p>I would not give up as Mapbox is very nice and provides lots of features. What could it be?</p>