Command PhaseScriptExecution failed with a nonzero exit code

I'm trying to Archive my build in Xcode 11.6 running on macOS 10.15.5 and everytime I get the same error Command PhaseScriptExecution failed with a nonzero exit code
In Signing&Capabillities option I've chosen Distribution provisioning profile on both tabs Debug and Release and I've disabled automatic signing.
I have 2 certificates one for developement and one for distribution.
I've already tried Keychain lock and unlock. On Xcode 10 and macOS 10.14 this worked without any problems.




Can you help me please?
Thanks,
Marko
Command PhaseScriptExecution failed with a nonzero exit code
 
 
Q