title: error: module was created for incompatible target arm64-apple-ios8.0
body: <p>There is a website called Appetize that needs an .app bundle (a iOS Simulator build of your app) for displaying your app in a online simulator.</p>
  <p>Here is the guide of the app bundle required: <a href="https://support.appetize.io/help/how-to-upload-an-app-to-appetize-io" rel="noreferrer">https://support.appetize.io/help/how-to-upload-an-app-to-appetize-io</a></p>
  <p>This is the command for generating the .app bundle:</p>
  <pre><code>xcodebuild -sdk iphonesimulator -workspace Project.xcworkspace -scheme Appetize -configuration Debug
  </code></pre>
  <p>When you press the Build &amp; Run button in Xcode and open the app in a Simulator, it works perfectly, but if you try to generate an .app bundle for Appetize with xcodebuild in command line, you get this crash (This worked perfectly with Xcode 11, but after updating to Xcode12 and last cocoapods 1.9.3, the problem has appeared):</p>
  <blockquote>
  <p>error: module 'DeviceKit' was created for incompatible target
  arm64-apple-ios8.0</p>
  </blockquote>