Command PhaseScriptExecution failed with a nonzero exit code after I upgrade into macOS sonoma

Good day, I am currently facing an error when I'm about to Archive my xcode project. This is the error log

rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/98ed8ad3-3356-11ee-9b53-aead88ae2785/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9] Command PhaseScriptExecution failed with a nonzero exit code

I encountered this error after I update my macOS into Sonoma 14.0. After that, I was forced to also update my xcode into version 15. Now, I am facing that error. It was ok before the update.

Does anyone knows how to fix this. Thanks in advance.

Command PhaseScriptExecution failed with a nonzero exit code after I upgrade into macOS sonoma
 
 
Q