Getting this error while archive ios app
Command PhaseScriptExecution failed with a nonzero exit code
I tried all solution on internet
How do I resolve "Command PhaseScriptExecution failed with a nonzero exit code" error when trying to archive project.
I found this solution working for me:
Step 1: Open xcode and search for the following line
source="$(readlink "${source}")" The file directory would be : ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh
Step 2: Replace the searched line in the code with -f
Before
source="$(readlink "${source}")" Change this to:
source="$(readlink -f "${source}")"