(Xcode) Command phaseScriptExecution failed with a non-zero exit code error (from EMPTY vision OS Unity Project)

3.8k Views Asked by At

Unity Version: 2022.3.8f1 XCode Version: XCode 15 beta 5 Targeted Platform: Vision OS

The build succeeded form Unity but when I try to make build from XCode, it shows an error with GameAssembly, Command PhaseScriptExecution failed with a non-zero exit code.

I have tried the latest release of XCode that is XCode 15 beta 8 but finds no luck. I have tried solution with cocoa pods but it did not work as well.

1

There are 1 best solutions below

0
Josh Benjamin On

I also had breaking changes with the update to Xcode 15. I tried several different forum solutions, nothing worked. In the end, I updated to the latest version of Unity (which for me was 2022.3.10f1, from 2022.3.4f1). Everything is working now!