Error: exportArchive: The data couldn’t be read because it isn’t in the correct format

Failed to execute Step main logic:
failed to export IPA:
command failed with exit status 70 (set -o pipefail && xcodebuild “-exportArchive” “-archivePath” “/var/folders/sj/_4jj239s3j33w5w1bdh98yj80000gn/T/xcodeArchive753794554/Umii-P.xcarchive” “-exportPath” “/var/folders/sj/_4jj239s3j33w5w1bdh98yj80000gn/T/xcodeIPAExport1812627152/exported” “-exportOptionsPlist” “/var/folders/sj/_4jj239s3j33w5w1bdh98yj80000gn/T/xcodeIPAExport1812627152/export_options.plist” “-allowProvisioningUpdates” “-authenticationKeyPath” “/var/folders/sj/_4jj239s3j33w5w1bdh98yj80000gn/T/AuthKey_XN7T4FNG34_3575045738.p8” “-authenticationKeyID” “XN7T4FNG34” “-authenticationKeyIssuerID” “75724633-a3ec-4fb4-b49d-fb848613dbfa” | xcpretty):
error: exportArchive: The data couldn’t be read because it isn’t in the correct format. (exit code: 1)

Archive succeeded but somehow it is fail to export the archive due to the above error.

1 Like