Command PhaseScriptExecution failed with a nonzero exit code - Version 15 IOS

I updated xcode version from 14 to 15, but I'm getting this error "command PhaseScriptExecution failed with a nonzero exit code", is there any way to solve this? I thought about downgrading to 14 again, is it possible to do a downgrade? How?

I'm having this problem too, but "Sonoma" doesn't accept any other version of Xcode

I have same issues some progress or some idea how to fix that?

Command PhaseScriptExecution failed with a nonzero exit code - Version 15 IOS
 
 
Q