Command PhaseScriptExecution failed with a nonzero exit code
showing error Command PhaseScriptExecution failed with a nonzero exit code.
When I am trying to play the ios project from a M2 chip Macbook Pro, it is working fine in Intel Chip.
showing error when trying to play from vscode--
The following build commands failed:
PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/safwan/Library/Developer/Xcode/DerivedData/skizzlehr-aqdqtsvzpusqzbchycwsluqghbka/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-rncore.build/Script-46EB2E00025130.sh (in target 'React-rncore' from project 'Pods')
(1 failure)
MacBook Pro 13″, macOS 14.2