Command PhaseScriptExecution failed with a nonzero exit code after adding firebase

28,233

Solution 1

I had the same problem.
I set 'test target signing Team' and I resolved the problem.
enter image description here

Solution 2

This issue might be linked to keychain service. To solve open keychain lock the login and unclock it again by entering you mac passcode.

Share:
28,233
Shahar Melamed
Author by

Shahar Melamed

Updated on July 09, 2022

Comments

  • Shahar Melamed
    Shahar Melamed almost 2 years

    I've got this error after I installed firebase podfile:

    Build/Products/Debug-iphonesimulator/Guess The Code 2.app/Frameworks/GoogleUtilities.framework'
    

    I tried this: Xcode 10 Beta 3: Command PhaseScriptExecution failed with a nonzero exit code but nothing has changed. I also tried to install GoogleUtilities pod separately but the error remained. What can I do?

    Podfile

    pod 'Google-Mobile-Ads-SDK'
    pod 'GoogleMobileAdsMediationUnity'
    pod 'GoogleMobileAdsMediationAppLovin'
    pod 'SAConfettiView'
    pod 'Firebase' 
    

    Xcode 10 beta 6 Swift 4.2

    • carl kenne
      carl kenne over 5 years
      did you ever find a solution to this issue?
  • oliverbytes
    oliverbytes over 3 years
    my keychain access > right click login > options are greyed out. any solution please?
  • rgisi
    rgisi about 3 years
    This was the hint that solved my problem. Signing team was set correctly. The mysterious "nonzero exit code" error disappeared after I removed the signing team and then set it again.