Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

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.
     
    fedorpm likes this.
  4. newguy123

    newguy123

    Joined:
    Aug 22, 2018
    Posts:
    1,209
    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:
    10
    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:
    7
    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: