macOS 打包问题记录
2021-10-08 本文已影响0人
愤斗的小蚂蚁
Apple开发者账号下的一个APP,已经有上线的iOS端应用,现在要添加一个macOS端应用。
1. 选择 Automatically manage signing,APP开发运行正常,打包上传App Store时失败。
错误:has 2 apple Disttribution certificates but their private keys are not installed。
原因:The problem is due to the file missing in your keychain. This is mainly because of the certificates are created
on the diffrent system so ask the developer or the whosever project you are running to provide you with p12
certificates along with the password if set Then just double click the certificates and enter the password and
you will be asked for administrator password enter the credentials and your problem will be solved.Plz let me
now if it works for you.
有关证书的错误,了解后无果。将/Library/Keychains 移到废纸篓,重启XCode,即可。
image.png