如何解决“errSecInternalComponent"错误在为 appstore 构建存档时? [英] How to resolve error of "errSecInternalComponent" while building archive for appstore?

查看:25
本文介绍了如何解决“errSecInternalComponent"错误在为 appstore 构建存档时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将 Flutter 应用程序提交到 Appstore.以下是我遵循的步骤:

I am trying to submit flutter app to Appstore. Here are the steps I followed:

已删除所有证书和配置文件

Deleted all certificates and provisioning profiles

创建/添加 IOS 分发证书

Create/Add IOS Distribution Certificate

创建 IOS 配置文件

Create IOS Provisioning Profile

添加 IOS 配置文件

Add IOS Provisioning Profile

清理应用

构建然后运行应用

在构建设置中设置编码和供应配置文件

Set Codesigning and Provisioning Profile In Build Settings

大量的谷歌搜索>没有成功

Lots of Googling > to no successes

基本上是面对errSecInternalComponent"的错误

Basically, facing the error of "errSecInternalComponent"

这是我得到的错误:

 Warning: unable to build chain to self-signed root for signer "iPhone Distribution: Johnny  (**********)"
    /Users/johnny/Downloads/chat_app-master 2/build/ios/Release-iphoneos/Runner.app/Frameworks/App.framework/App: errSecInternalComponent
    Command PhaseScriptExecution failed with a nonzero exit code
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

推荐答案

您的证书有问题,这就是您收到此警告的原因.您需要生成一个新的.

You are having an issue with a certificate, that's why you get this warning. You need to generate a new one.

试试这个:xcode ->偏好 ->帐户->选择帐户 ->管理证书 ->单击弹出窗口左下角的 (+) 图标 ->ios开发

Try this: xcode -> preferences -> accounts -> select the account -> manage certificate -> click on the (+) icon in the bottom left side of the popup window -> ios development

这篇关于如何解决“errSecInternalComponent"错误在为 appstore 构建存档时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆