简体   繁体   English

Xcode 手动签名有效,但不能自动签名

[英]Xcode manual signing works but not Automatic signing

I am able to archive our app.我能够归档我们的应用程序。 When I tried to Distribute it and select "Automatically manage signing" I got an error say "No Apple Distribution certificate found for *. A certificate is required for App Store connect distribution"当我尝试分发它和 select “自动管理签名”时,我收到一条错误消息“没有为 * 找到 Apple 分发证书。App Store 连接分发需要证书”

But if I select "Manually manage signing" , and fill in the Distribution certificate and profile fields the signing works as expected!但是,如果我 select “手动管理签名” ,并填写分发证书和配置文件字段,则签名按预期工作!

It seems Xcode can't locate the certificate or profile when using automatic signing?使用自动签名时,Xcode 似乎找不到证书或配置文件? Any thought with this?对此有任何想法吗?

If there's no certificate or profile like the error says, then there shouldn't be any to select from when using manual signing.如果没有像错误所说的证书或配置文件,那么在使用手动签名时不应该有任何 select 。 but I'm able to select a certificate and profile when I do manual signing.但是当我进行手动签名时,我可以 select 证书和配置文件。

I think my issue is because the NEW FORMAT Apple distribution certificate is not installed in my machine thus when I select "automatic signing" the error will popup.我认为我的问题是因为我的机器中没有安装新格式 Apple 分发证书,因此当我 select“自动签名”时会弹出错误。

The "manual signing" is still working because Xcode allows me to select the OLD FORMAT Apple distribution certificate which is still valid. “手动签名”仍然有效,因为 Xcode 允许我 select 仍然有效的旧格式 Apple 分发证书。

I resolve this issue by installing the NEW FORMAT of the Apple Distribution Certificate.我通过安装 Apple 分发证书的新格式解决了这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM