I have developed a React Native project and attempted to execute the iOS build through Xcode. However, each attempt results in a failure with the error message "Command PhaseScriptExecution failed with a nonzero exit code." What steps should I take to troubleshoot and resolve this issue? Project Configuration react-native:0.73.5 react: 18.2.0 node: 18.17.0
Xcode version: 15.3(15E204a) System Configuration: MacOS: Sonoma 14.2.1 Chip: M1 Memory: 8GB
[enter image description here](https://i.stack.imgur.com/VY5L4.jpg)
To address this, I have already taken the following actions:
- Deleted the pods and reinstalled them.
- Cleaned the build and attempted to run the project again.
- deleted derivedData files and tried to run again

Delete this file fixed the issue:
ios\.xcode.env.local