Does Xcode display one of these messages?
– Command PhaseScriptExecution failed with a nonzero exit code – Pods/Target Support Files/Pods-WebViewGold/Pods-WebViewGold-frameworks.sh: Permission denied Command PhaseScriptExecution failed with a nonzero exit code – Run custom shell script '[CP] Embed Pods Frameworks‘
To resolve these Xcode errors, simply follow these steps:
- Open the Terminal app on your Mac.
- Enter chmod +x “PATH TO Pods-WebViewGold-frameworks.sh” and press Enter.
Example: chmod +x "/Users/John/Desktop/iOS/Xcode_Source/Pods/Target Support Files/Pods-WebViewGold/Pods-WebViewGold-frameworks.sh"
3. Restart Xcode and clean the project by pressing Command + Shift + K simultaneously.