Error on build

Hey guys I’m trying to build a project to IOS and I get an error “Command PhaseScriptExecution failed with a nonzero exit code”. How do I fix it? If you need additional info, I can provide it :slight_smile:

1 Like

please i need d solution urgently

XCode 11, Exported from Unity( 2019.2.17f1) Windows, Copied files into Mac(Catalina) .

Pre-requisites: Have cocoapods installed

  • Open your project folder using terminal
  • write and execute → pod install
  • then → pod update
  • The main issue is permission so, → chmod +x MapFileParser.sh
  • → chmod +x process_symbols.sh

Worked for me.

2 Likes

could you give some more detail on getting this going please?

I’m not familiar with mac that much, but I right clicked on my XCode build that was exported from Unity, opened a terminal there, installed cocoapads with the sudo command.
But now I’m stuck at “pod install”
I get a an error:
“No Profile found in the project directory”

2 Likes

Actually, you do not need to write pod install. Pod give me the same error. But i installed cocoapods, then do the rest then it successfully completed.

It worked!

Also i posted the steps on stackoverflow you can look;

https://stackoverflow.com/a/63154590/7118723

2 Likes

Please follow the instructions in below file, in case the issue is similar

1 Like

Thanks SO MUCH, it works and now buillds perfectly!

Thanks. Not sure how but it worked. Definitely try this approach first.

when i run this command it shows me this error

8979517--1235206--Screenshot 2023-04-28 at 6.02.22 PM.png

4 Likes

@Arcadian-Unity , same issue as you. This started happening after upgrading to 2022.2.21

same

same here, did you solved?