error: exportArchive: No signing certificate “Mac Development” found
UNIAPP packaging encountered this problem again,
and encountered this problem again when the certificate expired and renewed (I encountered it before and solved it, and I forgot it after a long time), record it, error message
error: exportArchive: No signing certificate \"Mac Development\" found
Error Domain=IDECodesignResolverErrorDomain Code=1 \"No signing certificate \"Mac Development\" found\" UserInfo={
IDEDistributionIssueSeverity=3, NSLocalizedRecoverySuggestion=No \"Mac Development\" signing certificate matching team ID \"Q4Z6TR\" with a private key was found., IDEProvisioningError_UserInfoKey_IDEProvisioningErrorSpecifier=Mac Development, NSLocalizedDescription=No signing certificate \"Mac Development\" found, IDEProvisioningError_UserInfoKey_IDEProvisioningErrorPlatform=com.apple.platform.macosx, IDEProvisioningError_UserInfoKey_IDEProvisioningErrorAction=5, IDEProvisioningError_UserInfoKey_IDEProvisioningErrorTeam=}
The reason is that iOS App Development was selected when the Apple Development Center created the certificate.
The correct certificate generation selects Apple Development.