Command PhaseScriptExecution failed with a nonzero exit code

[Problem/Question]
// Detailed description of issue.
I donwloaded the sendBird chat iOS sample and tried running the code. Its working quite well but I am not able to archive the build to test it with team.

// If problem, please fill out the below. If question, please delete.
[UIKit Version]
// What version of the SDK are you using?
v4.13.1
[Reproduction Steps]
// Please provide reproduction steps and, if possible, code snippets.
Just configured the app and installed. Worked well but unable to archive
[Frequency]
// How frequently is this issue occurring?
always
[Current impact]
// How is this currently impacting your implementation?
Not able to test