I had the same error today.
I also got the ITMS-90877 and ITMS-90878 Errors.
I didn't got it working with the solutions here with 12.5 installed.
I downgraded to 12.4 and everything works well. Hopefully this helps somebody else too :)
Topic:
Code Signing
SubTopic:
Entitlements
Tags: