skip to Main Content

I downloaded Xcode 15 and installed the iOS 17 updates.

When I try to build my Unity game on Xcode now, I get this error: Command PhaseScriptExecution failed with a nonzero exit code

Any idea how to resolve this?

Thanks so much!

I have applied many solutions but nothing works yet.

2

Answers


  1. Here is my resolve (downgrade XCode): Uninstall xcode 15, then go to system settings of store, turn off auto update, then download old version of Xcode: https://developer.apple.com/download/all/ choose your old version which work for your work.
    Double click download file (.xip) to install then drag it to Apllication folder.
    Hope this help your work.

    Login or Signup to reply.
  2. After updating XCode to 15.0 I am facing this issue. I have found a workaround for this issue. Please try following steps –

    1. Search for source="$(readlink "${source}")" in your project.
      I found it in Pods-[your-project-name]-frameworks.sh

    2. Change source="$(readlink "${source}")" to source="$(readlink -f "${source}")"

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search