I am getting exactly the same behavior using the Bitrise CI. Success on the first try and this same error on the subsequent.
Multiple development certificates are really created on the Apple Developer portal. When revoked, this works again.
xcodebuild
"-project" "/Demo.xcodeproj"
"-scheme" "Bitrise Demo"
"-configuration" "Release"
"-xcconfig" "/temp.xcconfig" "archive"
"-archivePath" "/Demo.xcarchive"
"-allowProvisioningUpdates"
"-authenticationKeyPath" "/AuthKey_YGHQQ95LVN_1271060667.p8" "-authenticationKeyID" "YGHQQ95LVN" "-authenticationKeyIssuerID" "e053-5b8c7c11a4d1"
"-destination" "generic/platform=iOS"
Topic:
Code Signing
SubTopic:
General
Tags: