After updating Xcode to the version 14.0, I got this error using:
Ionic CLI : 6.20.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.6.11
@angular-devkit/build-angular : 12.0.5
@angular-devkit/schematics : 12.1.1
@angular/cli : 12.0.5
@ionic/angular-toolkit : 4.0.0
Capacitor:
Capacitor CLI : 3.1.1
@capacitor/android : 3.1.2
@capacitor/core : 3.1.1
@capacitor/ios : 3.1.1
Command PhaseScriptExecution failed with a nonzero exit code
I found the solution on the StackOverflow site: flutter - Xcode 14: Command PhaseScriptExecution failed with a nonzero exit code - Stack Overflow
Search for the following line in your project, it must be in ios/Pods/Target Support Files/Pods-{app_name}/Pods-{app_name}-frameworks.sh,
source=“$(readlink “${source}”)”, replace:
source="$(readlink -f "${source}")"
It worked.
But what is the meaning of this line and “- f”?
1 post - 1 participant