Xcode 13.3.1 When i archive my project i get this error: Failed to package /Users/ProjectPath. Command PhaseScriptExecution failed with a nonzero exit code.

It is a real solution for this kind of error?

That is what i got from websites as a solution, but it didn't work for me:

"I usually have this problem when a dependency is not updated. You can try following these steps, this usually works for me: 1- Delete your Podfile.lock (I like to use the command '-rm -rf Podfile.lock' on the terminal for this) 2- Delete your Pods folder (I like to use the command '-rm -rf Pods' in the terminal for this) 3- Delete your .xcworkspace 4- Pod install 5- Clear your project into XCode> Product> Clean Build Folder"

"Run the following commands from the project directory terminal : % pod deintegrate % pod install Clean build"

"Go to Build Phase tab for your project Go to "Copy www directory" and clikck the drop down to show more info if not expanded already. On the line with the code(mine only had one) add chmod +x in fromnt of the "$srcrooot/....""

Thanks!

Xcode 13.3.1 When i archive my project i get this error: Failed to package /Users/ProjectPath. Command PhaseScriptExecution failed with a nonzero exit code.
 
 
Q