title: Command PhaseScriptExecution failed with a nonzero exit code - using CocoaPods
body: <p>I'm getting the following error when building my project: <code>Command PhaseScriptExecution failed with a nonzero exit code</code>.
  <a href="https://i.stack.imgur.com/Zkfpu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Zkfpu.png" alt="enter image description here" /></a></p>
  <p>This is what I have in my <code>[CP] Embed Pods Frameworks</code>:
  <a href="https://i.stack.imgur.com/buSrr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/buSrr.png" alt="enter image description here" /></a></p>
  <p>I've also done a <code>pod deintegrate</code> and <code>pod install</code> but these frameworks continue to show in red:</p>
  <p><a href="https://i.stack.imgur.com/1kdve.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1kdve.png" alt="enter image description here" /></a></p>
  <p>I'm on <code>Xcode Version 12.4</code> and my mac has an <code>Apple M1</code> chip. Any thoughts as to what I could do to resolve this error?</p>