如何解决"errSecInternalComponent"的错误?在为appstore建立档案时? [英] How to resolve error of "errSecInternalComponent" while building archive for 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
清洁应用程序
先构建然后运行应用程序
Build Then Run App
在构建设置中设置协同设计和供应配置文件
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屋!