title: Xcode 12 issue - Could not find module 'FrameworkName' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64
body: <p>After updating to Xcode 12 the project gives me this error when building on simulator:</p>
  <pre><code>Could not find module 'FrameworkName' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64
  </code></pre>
  <p>The framework is installed with cocoapods.
  It works with Xcode 11. Building on &quot;Any iOS Device&quot; or real iPhone with Xcode 12 also works just fine.
  What's different in Xcode 12?</p>