title: Xcode 12 Problems: "Build input file cannot be found "- Building for release on a react native app
body: <p>When I try to do an archive build for &quot;any iOS device&quot;, I receive this error:</p>
  <blockquote>
  <p>Build input file cannot be found: '/Users/.../Library/Developer/Xcode/DerivedData/[app]-czrkuohjfzuzxxfobfoyptxhyoyo/Build/Intermediates.noindex/ArchiveIntermediates/[app]/InstallationBuildProductsLocation/Applications/[Product Name].app/[Product Name]'</p>
  </blockquote>
  <p>I received this same error when building for an iOS simulator, but this post fixed it - <a href="https://stackoverflow.com/questions/63993084/problems-after-upgrading-to-xcode-12ld-building-for-ios-simulator-but-linking">Problems after upgrading to Xcode 12:ld: building for iOS Simulator, but linking in dylib built for iOS, architecture arm64</a>.</p>
  <p>I am also receiving a warning concerning the architectures that may or may not be relatable to the error:</p>
  <blockquote>
  <p>None of the architectures in ARCHS (arm64) are valid. Consider setting ARCHS to $(ARCHS_STANDARD) or updating it to include at least one value from VALID_ARCHS (arm64, armv7s, armv7) which is not in EXCLUDED_ARCHS (arm64).</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/W5h08.png" rel="noreferrer"><img src="https://i.stack.imgur.com/W5h08.png" alt="architectures" /></a></p>
  <p><a href="https://i.stack.imgur.com/8LmyK.png" rel="noreferrer"><img src="https://i.stack.imgur.com/8LmyK.png" alt="VALID_ARCHS" /></a></p>