我正在尝试为 App Store 构建,但出现错误 Command /usr/bin/codesign failed with exit code 1
.我尝试清理 DerivedData,重新启动计算机,撤销 key 并创建新 key 。在升级它工作之前,我已经将我的 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
最佳答案
在 key 扣访问 ... 解决方案是右键单击 Apple 全局开发者关系认证机构 并选择 获取信息 .在下面的图片中,我改变了 使用此证书时至 使用系统默认值 系统要求我输入密码。现在它正在工作\o/
关于xcode - 命令/usr/bin/codesign 在 Xcode 11 上失败,退出代码为 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58326124/