I had the issue with xcodebuild & altool pipeline building iOS app while tvOS was fine. Build & upload iOS from Xcode IDE was fine as well. After @Luca_65 option --digest-algorithm=sha1,sha256 in OTHER_CODE_SIGN_FLAGS xcodebuild & altool iOS pipeline was fixed.
macOS Catalina 10.15.7
Xcode 12.4
Topic:
Code Signing
SubTopic:
General
Tags: