Removing the Embed App Clip Build Phase and Adding It Back. Is it possible?

I am working on an App Clip on an existing App but the App Clip is not ready to ship. However, I need to deploy the App to TestFlight/AppStore for a bug fix.

What is the best way to exclude the App Clip from the App in the interim without removing the App Clip target and code in the XCode project? I just want to build an App IPA without the App Clip so I can submit to TestFlight/AppStore without removing the App Clip target/code from the project.
I noticed there is an "Embed App Clip" in the App target's Build Phases, however if I remove it, how do I add it back in Build Phase? The only options I see when I try to add a new build phase are:
  • New Copy Files Phase

  • New Run Script Phase

  • New Headers Phase

  • New Copy Bundle Resources Phase (disabled)

  • New Compile Sources Phase (disabled)

  • New Link Binary With Libraries Phase (disabled)

  • New Build Carbon Resources Phase(disabled)

Note there is no "New Embed App Clips Phase".

Is it possible to add back an Embed App Clips Phase if I removed the one that was added there by XCode when I created the App Clip target for the 1st time? Would appreciate the steps to do so.

Thanks
Answered by sojourner in 671348022
Thanks to Simon I who answered this on Stackoverflow:

https://stackoverflow.com/a/67166954/3358247

Essentially:
  1. Select New Copy Files Phase

  2. Choose Destination -> App Clips

  3. Tap + button, select YourClip.app file

  4. (Optional) Rename build phase to Embed App Clips

Accepted Answer
Thanks to Simon I who answered this on Stackoverflow:

https://stackoverflow.com/a/67166954/3358247

Essentially:
  1. Select New Copy Files Phase

  2. Choose Destination -> App Clips

  3. Tap + button, select YourClip.app file

  4. (Optional) Rename build phase to Embed App Clips

Removing the Embed App Clip Build Phase and Adding It Back. Is it possible?
 
 
Q