title: How to get an external package to compile output for all architectures
body: <h1>Setup and problem</h1>
  <p>I have a React Native project that imports a simple external package, HSLuvSwift.</p>
  <p>I am running an M1 mac and in order to get the project to compile I had to set the &quot;Excluded Architectures&quot; - &quot;Any iOS Simulator SDK&quot; to &quot;arm64&quot; for both &quot;Release&quot; and &quot;Debug&quot; schemas.</p>
  <p>However when building with &quot;Debug&quot; schema it only builds for arm64, see screenshot below.<br />
  Building with &quot;Release&quot; schema builds all architectures properly, see screenshot below.</p>
  <p>I've tried tweaking the &quot;Architectures&quot; and &quot;Build active Architecture Only&quot; settings to no avail.</p>
  <p>How do I force Xcode to build for all architectures even while using the &quot;Debug&quot; schema?
  </p>
  <h1>External Package</h1>
  <p><a href="https://i.stack.imgur.com/ypac3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ypac3.png" alt="Simple external package" /></a></p>
  <h1>Build with "Debug" schema</h1>
  <p><a href="https://i.stack.imgur.com/QVw0U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QVw0U.png" alt="Schema &quot;Debug&quot; only &quot;arm64&quot; compiled for" /></a></p>
  <h1>Build with "Release" schema</h1>
  <p><a href="https://i.stack.imgur.com/cyhPM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cyhPM.jpg" alt="Schema &quot;Release&quot; all architectures compiled for" /></a></p>