title: XCode 12 - Command PhaseScriptExecution failed with a nonzero exit code
body: <p>Edit: Just created a brand new project, (npx react-native-init), still the same exact issue. No clue what's happening, never had this issue before.</p>
  <p>App is building / running file locally. It's only when I archive this issue pops up.</p>
  <p>Tried:</p>
  <ul>
  <li>Deleting pod file / workspace</li>
  <li>Checking 'For install builds only'</li>
  <li>Disable / Enable the 'login' in 'Keychain Access'</li>
  <li>Cleaning and restarting computer</li>
  <li>Archiving in debug and release</li>
  </ul>
  <p>Node: 14.16.1 / RN: 0.64.0 / Typescript</p>
  <p>What else should I do? Really stuck here. It doesn't make sense it builds fine locally but not in Archive. Thank you.</p>
  <pre><code>SyntaxError: Unexpected token {
      at createScript (vm.js:80:10)
      at Object.runInThisContext (vm.js:139:10)
      at Module._compile (module.js:617:28)
      at Object.Module._extensions..js (module.js:664:10)
      at Module.load (module.js:566:32)
      at tryModuleLoad (module.js:506:12)
      at Function.Module._load (module.js:498:3)
      at Module.require (module.js:597:17)
      at require (internal/module.js:11:18)
      at Object.&lt;anonymous&gt; (/Users/andrewyoung/tacapp/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/doctor/doctor.js:28:21)
  Command PhaseScriptExecution failed with a nonzero exit code
  </code></pre>