Xcode 15, iOS17 and unity 2022 problems error--> Command PhaseScriptExecution failed with a nonzero exit code

hi, i want to use ar, face tracking on ios platform. i have a ios build and open xcode 15. my ios device have ios 17. this build is a simple build, i don't wrote any code, just i work on unity editor. my editor version 2022.3.f1. Finally, i get an error this.

"Command PhaseScriptExecution failed with a nonzero exit code" how can i solve this problem

Post not yet marked as solved Up vote post of gunsevenkoray Down vote post of gunsevenkoray
1.4k views
  • Try, Using Unity Silicon Versions if you have an M1 processor, do a clean build from the MAC, and also add the -ld64 in Other Linker flags, like in the following link : https://forum.unity.com/threads/project-wont-build-using-xode15-release-candidate.1491761/page-2.

    Hope it helps.

Add a Comment

Replies

I have the same problem

I get this error too. I think Unity doesn't support xcode 15 and sonoma.