命令/ usr / bin / codesign在Xcode 11上退出代码为1失败

问题描述 投票:0回答:1

我正在尝试为App Store进行构建,但出现错误Command /usr/bin/codesign failed with exit code 1。我试图清理DerivedData,重新启动计算机,撤消密钥并创建一个新密钥。在升级之前,我已经将Mac更新为Catalina和Xcode 11。

/Users/digistarts/Library/Developer/Xcode/DerivedData/Runner-glehwjejufujqwblxzreggowpgvb/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Frameworks/Flutter.framework: replacing existing signature
Warning: unable to build chain to self-signed root for signer "Apple Development: Daniel Santana (85UL9U2WVT)"
/Users/digistarts/Library/Developer/Xcode/DerivedData/Runner-glehwjejufujqwblxzreggowpgvb/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Frameworks/Flutter.framework: errSecInternalComponent
Command /usr/bin/codesign failed with exit code 1
xcode macos app-store codesign
1个回答
0
投票

钥匙串访问中...解决方案是右键单击Apple Worldwide开发人员关系证书颁发机构,然后选择获取信息。在图像栏中,我将使用此证书时更改为使用系统默认值,系统要求我输入密码。现在可以使用了\ o /

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.