SOLVED
I added, along with multiple other changes, an XCFramework.
I marked it as "Embed Without Signing" instead of "Embed & Sign", a day wasted by this detail. (It was my fault completely).
It would have been good if the detail of the error indicated a better reason for it.
Hope this can help other people.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: