error: exportArchive: No signing certificate “Mac Development” found
UNIAPP打包又遇到这个问题了,
证书过期续期的时候又遇到这个问题了(之前遇到过解决了,时间长忘了),记录一下,报错信息
error: exportArchive: No signing certificate \"Mac Development\" foundError 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=}
原因是苹果开发中心创建证书的时候选择了iOS App Development
正确证书生成 选择 Apple Development 即可