I have faced same issue "Invalid Signature, code object not signed at all" error
Solution -
You need to add distribution certificate on Xcode
Signing & Capabilities > Select team >> Add Account >> Select your account >> Manage Certificates > Click on "+" Button >> Add Apple Distribution Certificate
I also attached screenshot for Reference let me know if its working