Showing Recent Issues Build target OneSignalXCFramework of project Pods with…
- User
Showing Recent Issues
Build target OneSignalXCFramework of project Pods with configuration Debug
PhaseScriptExecution [CP]\ Copy\ XCFrameworks /Users/saaudiqbal/Library/Developer/Xcode/DerivedData/WebViewGold-chbuhxpnfrbdludbaflwnjacqpce/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/OneSignalXCFramework.build/Script-97C4B591DA43144ED549676B0FF14C11.sh (in target 'OneSignalXCFramework' from project 'Pods') cd /Users/saaudiqbal/Downloads/XcodeSourceCode/Pods /bin/sh -c /Users/saaudiqbal/Library/Developer/Xcode/DerivedData/WebViewGold-chbuhxpnfrbdludbaflwnjacqpce/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/OneSignalXCFramework.build/Script-97C4B591DA43144ED549676B0FF14C11.sh
/Users/saaudiqbal/Library/Developer/Xcode/DerivedData/WebViewGold-chbuhxpnfrbdludbaflwnjacqpce/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/OneSignalXCFramework.build/Script-97C4B591DA43144ED549676B0FF14C11.sh: line 2: /Users/saaudiqbal/Downloads/XcodeSourceCode/Pods/Target Support Files/OneSignalXCFramework/OneSignalXCFramework-xcframeworks.sh: Permission denied Command PhaseScriptExecution failed with a nonzero exit code
/Users/saaudiqbal/Library/Developer/Xcode/DerivedData/WebViewGold-chbuhxpnfrbdludbaflwnjacqpce/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/OneSignalXCFramework.build/Script-97C4B591DA43144ED549676B0FF14C11.sh: line 2: /Users/saaudiqbal/Downloads/XcodeSourceCode/Pods/Target Support Files/OneSignalXCFramework/OneSignalXCFramework-xcframeworks.sh: Permission denied
Command PhaseScriptExecution failed with a nonzero exit code
Build failed 25/03/2024, 2:55 AM 0.8 seconds
- Assistant
The error you're encountering, "Permission denied" during the build process of your project due to a script execution failure, indicates that the script
OneSignalXCFramework-xcframeworks.shlacks the necessary execution permissions.To resolve this issue, you need to grant execute permissions to the script. You can do this by opening a terminal and running the following command:
chmod +x /Users/saaudiqbal/Downloads/XcodeSourceCode/Pods/Target Support Files/OneSignalXCFramework/OneSignalXCFramework-xcframeworks.shThis command changes the mode of the script to allow execution (
+x) for the user, group, and others. Once this change is applied, Xcode should be able to execute the script during the build process without encountering the "Permission denied" error.After granting the script execute permissions, try building your project again in Xcode. If you encounter any further issues, ensure that your project's configurations and dependencies are correctly set up and that there are no other underlying problems with the script itself or the project setup.