title: How to create IPA with arch x86_64 with Mac M1
body: <p>I try to create an IPA with x86_64 in my Mac M1 but failed. First I open Xcode with Rosetta mode and I could build an app file which is arch x86_64 successfully with an iOS simulator selected, however when I switch to Any iOS device to Product -&gt; Archive, then it build failed.</p>
  <pre><code>error: Build input file cannot be found:
  </code></pre>
  <p><a href="https://i.stack.imgur.com/W5hNu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/W5hNu.png" alt="enter image description here" /></a></p>
  <p>I checked this path, the reason is that it didn't create the execute file in xxx.app folder when doing archiving.</p>