An app I've been working on for weeks suddenly started giving me this error when I try to archive it:
"Command PhaseScriptExecution failed with a nonzero exit code"
I tried cleaning the build folder, restarting Xcode, and restarting the computer. The app compiles and runs, it just won't archive.
I deleted the entire project folder and re-cloned it, that didn't fix the problem either.
My coworker is able to archive the same project on his computer without any problem. The only difference we can find is that my computer has Xcode 14.3 and he has 14.2
Unfortunately I have no idea what the error message means. I think it might have something to do with Pods, but I didn't install the pods, and don't really understand how Pods work.
Is this a new bug in Xcode 14.3? What's the fix?
Thanks