ios – Command PhaseScriptExecution failed with a nonzero exit code after updating to Xcode 14.3 and MacOS 13.3


Apple did not let me push my app to the shop with out updating to Xcode 14, for which I additionally needed to replace to the MacOS 13, Ventura. No downside, obtained these completed. However now I am unable to Archive my challenge to add to the App Retailer. Preserve getting the error beneath.

Error screenshot

I seen that a number of folks on the Web had this error whereas updating Xcode variations, and I attempted these following options, however none of them labored for me.

  • Delete DerivedData, CocaoPods Cache, pod deintegrate then pod set up, clear construct, rebuild
  • Unlock and relock Keychain Entry (mine is grayed out, so could not do this)
  • Delete xcuserdata

It seems that my particular challenge is being attributable to Alamofire.framework not being discovered, and I am undecided tips on how to repair that. Tried altering the goal model of AlamoFire to no avail. The error notes –

/Tasks/app/app/../../../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Alamofire.framework” failed: No such file or listing (2)

Any assist in getting me unblocked right here could be tremendously appreciated. Thanks prematurely.