Xcode Command PhaseScriptExecution failed with a nonzero exit code

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys welcome again to my YouTube channel in today's video we are going to be learning how to solve command face script execution field with a non-zero exit code okay so this problem is very easy to solve don't get freaked about it okay so what to do to to resolve this issue before we start doing that please and please guys do subscribe to my channel click the Subscribe button and the notification Bell I solve problems related to flutter quad links Swift you know PHP and cool so without further Ado let's get back to the code and let's see how to solve this problem so I'm going to run this again so that you can see how the problem is being made so I'm going to first claim my build okay the build has been cleaned then I'm going to Archive because it is during archive that is problem normally occur if you are presenting an assimilation is going to work if you are presented on your real device is going to work so let me archive so um performing the archive on getting to the last stage then the error is going to pops up let's see okay so he's currently archiving okay almost done now as you can see it says was command um face script education failed with non-zero exec um exit code so to solve this problem what you need to do is I'm going to follow um the Trees of Android studio and I'm also going to follow the trees for uh um xcode so let's start with the tree of understood to solve this problem so first open your Android Studio Projects uh let me close the files so that you can see exactly what is really going on so once you hope you understood the project here is my port file so it does nothing to do with modify so what you just need to do is navigate to the um to the iOS folder for the particular projects we are working on the iOS folder don't forget iOS folder once you get to the iOS folder scroll down to Port folder now inside the port for the scroll down to target support files now inside the target support files scroll down to Port Runner inside the Pod Runner then you will then navigate down to Ports Runner frameworks.sh so as you can see we have bought what runnersframeworks.sh so if you scroll down inside this form inside this file you're going to see so many things that has to do with um s code and display things okay so what you just need to do is to scroll down to the Shell area where you have um seam linked as you can see we have SIM link here so in this current line on line 44 just pass um Dash f space that is as you can see it is an iPhone iPhone F then space um concatenation of resource so you don't need to do much thing just passing this F alone will solve the problem so um click on Save and if I want to use the approach of the xcode it's also very straightforward go to your um what's it called your code area then you're you're going to drop down your Runner once you drop down your Runner scroll down to the pod under the board you are going to take it down to Parts under pots you are going to locate the target support files the under attacking support files you're going to locate the pulse Runner the underpoint throttle then you will definitely um see the port Runner framework.sh which is what we have here and the f I just added just now is this so as you can see this is the F okay so now what you need to do now is to click on Save and after that has been saved this applies for both flutter and I'm very sure the rest of the Native development like reacts and cool I believe this will also work for you okay so once you click on once you save that then go to your build let's click the build folder just to clear what we already have and um click on the products and archive it again so on clicking on the archive then this is going to reprocess and let's see what we're going to get this time around so it's currently processing after saving after hiding the half so let's see what will happen scrunch the processing okay that is going let's just put a bit my hop is very small as you can see it's actually what um archived the the build now the build is ready to be distributed to App Store so that's cool so guys please and please do subscribe to my channel for more more great content like this see you guys in my next video bye
Info
Channel: BiggiDroid
Views: 15,058
Rating: undefined out of 5
Keywords: command phasescriptexecution failed with a nonzero exit code, command phasescriptexecution failed with a nonzero exit code xcode 14, command phasescriptexecution failed with a nonzero exit code react native, command phasescriptexecution failed with a nonzero exit code xcode, command phasescriptexecution failed with a nonzero exit code xcode 14.2, command phasescriptexecution failed with a nonzero exit code xcode 13, command phasescriptexecution failed with a nonzero exit code flutter ios
Id: FmZm0MeE5NE
Channel Id: undefined
Length: 5min 4sec (304 seconds)
Published: Fri Sep 01 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.