命令代码符号使用Xcode(errSecInternalComponent)构建Flutter应用程序时失败,退出代码为非零

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

我遇到此错误:

/Users/administrator/Library/Developer/Xcode/DerivedData/Runner-xxxxxxx/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/Runner.app/Frameworks/App.framework: errSecInternalComponent

构建Flutter应用程序时。

我发现了一些可能与xattrs相关的提示。

xattr -rc folder/to/sources

无济于事。

[我发现运行新版本时,我的应用程序文件夹中有很多文件具有com.apple.quarantine属性。

所以我也

xattr -rc ~/development/flutter

此步骤之后,com.apple.quarantine文件停止出现,但仍然出现相同的错误。

我尝试了https://medium.com/@ceyhunkeklik/how-to-fix-ios-application-code-signing-error-4818bd331327中的可能解决方案

我的密钥/身份似乎可以访问。我也尝试过重启并轻拂干净。

编辑:

我也找不到有关设置代码签名二进制文件的调试级别的任何信息-可以吗?

EDIT2:现在尝试

Xcode 10, Command CodeSign failed with a nonzero exit code

ios xcode flutter signing
1个回答
0
投票
我设法通过关闭“自动管理签名”来解决此问题,并使用了必须事先在Apple开发人员网站上创建的发行证书和配置文件。
© www.soinside.com 2019 - 2024. All rights reserved.