Home > Software engineering >  Command PhaseScriptExecution failed with a nonzero exit code for flutter project in xcode 13.4.1
Command PhaseScriptExecution failed with a nonzero exit code for flutter project in xcode 13.4.1

Time:08-09

when i'm trying to build the archive then i get this error. please help me out from this issues. thanks enter image description here

enter image description here

CodePudding user response:

Along with removing derived data (xcode -> preferences -> locations -> Derived data), remove podfile.lock file also and do the following

flutter clean 
flutter pub get
cd ios 
pod install

CodePudding user response:

Please clear Derived data first from xcode -> preferences -> locations -> Derived data -> move to bin and remove from bin as well. Now do

flutter clean 
flutter pub get
cd ios 
pod install
pod update

and try to run app again

  • Related