title: How to fix "IPA processing failed" in Xcode 12.2 with MAC M1
body: <p>When I tried to create Ad Hoc IPA file. It gave &quot;IPA processing failed&quot; error.</p>
  <p>Xcode version is 12.2.  Mac mini (M1, 2020)</p>
  <p>I have checked logs file: IDEDistribution.standard.log file.</p>
  <pre><code>Assertion failed: Expected 2 archs in otool output:
  /var/folders/kd/kb03k1ks33sb33gnl9fz95yr0000gn/T/IDEDistributionOptionThinning.~~~qlv6NP/Payload/xxx.app/xxx:
  Mach header
        magic  cputype cpusubtype  caps    filetype ncmds sizeofcmds      flags
  MH_MAGIC_64    ARM64        ALL  0x00     EXECUTE    47       5672   NOUNDEFS DYLDLINK TWOLEVEL BINDS_TO_WEAK PIE
  Load command 0
        cmd LC_SEGMENT_64
  </code></pre>
  <p>How to fix it?</p>