Search Unity

Error on build

Discussion in 'iOS and tvOS' started by minemarcius, Sep 27, 2018.

  1. minemarcius

    minemarcius

    Joined:
    Jan 27, 2016
    Posts:
    16
    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 :)
     
    adbourdages likes this.
  2. itztripple_a

    itztripple_a

    Joined:
    May 23, 2018
    Posts:
    1
    please i need d solution urgently
     
  3. magitekxzone

    magitekxzone

    Joined:
    Feb 21, 2020
    Posts:
    2
    XCode 11, Exported from Unity( 2019.2.17f1) Windows, Copied files into Mac(Catalina) .

    Pre-requisites: Have cocoapods installed
    1. Open your project folder using terminal
    2. write and execute -> pod install
    3. then -> pod update
    4. The main issue is permission so, -> chmod +x MapFileParser.sh
    5. -> chmod +x process_symbols.sh
    Worked for me.
     
    MorganYT and fedorpm like this.
  4. newguy123

    newguy123

    Joined:
    Aug 22, 2018
    Posts:
    1,248
    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"
     
    Deirvlon and Propagant like this.
  5. Deirvlon

    Deirvlon

    Joined:
    Oct 14, 2013
    Posts:
    4
    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!
     
  6. Deirvlon

    Deirvlon

    Joined:
    Oct 14, 2013
    Posts:
    4
    -chris and adbourdages like this.
  7. raviIOS

    raviIOS

    Joined:
    Mar 27, 2019
    Posts:
    13
    Please follow the instructions in below file, in case the issue is similar
     

    Attached Files:

    ixmas93 likes this.
  8. ixmas93

    ixmas93

    Joined:
    Mar 16, 2020
    Posts:
    8
    Thanks SO MUCH, it works and now buillds perfectly!
     
  9. Pavee_

    Pavee_

    Joined:
    Jul 28, 2021
    Posts:
    4
    Thanks. Not sure how but it worked. Definitely try this approach first.
     
  10. Arcadian-Unity

    Arcadian-Unity

    Joined:
    Mar 14, 2020
    Posts:
    4
    when i run this command it shows me this error
     

    Attached Files:

  11. thomasvaniseghemSB

    thomasvaniseghemSB

    Joined:
    Sep 15, 2022
    Posts:
    13
    @Arcadian-Unity, same issue as you. This started happening after upgrading to 2022.2.21
     
  12. PITA

    PITA

    Joined:
    Mar 7, 2014
    Posts:
    1
    same
     
  13. Ikaro88

    Ikaro88

    Joined:
    Jun 6, 2016
    Posts:
    300
    same here, did you solved?