Xcode 11.3.1 - Command PhaseScriptExecution failed with a nonzero exit code

Everything in my app was fine before 26th april.

But my code sign certificate has expired in 27th april and I'm getting this issue.
I'm getting this error at the end of archive in Xcode. and the archive is failed.
My Xcode version is 11.3.1. I've done below steps to solve this issue:-
1) I've removed pod and reinstall.
2) have lock and unlock the login from keychain certificate.
3) have created a new certificate which is valid for another year.

but still my issue is not solving. Please suggest me the solution if anybody have faced similar type of issue.
What platform are you targeting? If it’s the Mac, are you targeting the App Store? Or shipping independently using Developer ID signing? If it’s an App Store, do you see this error when you try to upload? Or export? Or both?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Hi Eskimo,

The issue was coming at the time of app archive from Xcode.
I've solved this by adding "Apple World Wide Certificate."

and Now after upgrading my macOS version from Catalina to Big Sur , My app is successfully uploaded to Testflight. But the build
is still not showing in Testflight.

Can You tell me the reason behind this issue please....

Regards,
Ripa Saha.

I've solved this by adding "Apple World Wide Certificate."

Excellent news.

Can You tell me the reason behind this issue please....

No, sorry, I know next to nothing about TestFlight. My advice is that you start a new thread for this, tagging it with TestFlight to attract the attention of folks who are au fait with that technology.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Hello Eskimo,

Testflight is the place where app is uploaded for beta testing. Testflight is also part of app store connect.

My above issue is also solved. I think - app store connect has some issue that's why it was bit delay in displaying
the build.

Thank You Eskimo.

Xcode 11.3.1 - Command PhaseScriptExecution failed with a nonzero exit code
 
 
Q