[英]Flutter unable to build IOS archive
i am trying to build a IOS IPA for generic device, followed all the instructions, added signing certificates, team etc. but i am unable to build the product.我正在尝试为通用设备构建一个 IOS IPA,遵循所有说明,添加签名证书、团队等,但我无法构建产品。 any one please help me to resolve this issue.
任何人请帮我解决这个问题。
here is my signing config.这是我的签名配置。 checked to automatically managed.
检查自动管理。 added device in developer site.
在开发人员站点中添加了设备。
sent 435785657 bytes received 92 bytes 58104766.53 bytes/sec total size is 435732165 speedup is 1.00 Warning: unable to build chain to self-signed root for signer "Apple Development: ********" /Users/Saif/Library/Developer/Xcode/DerivedData/Runner-bemaxobcrmqabgcgltuauohrwrje/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/myapp.app/Frameworks/App.framework/App: errSecInternalComponent Command PhaseScriptExecution failed with a nonzero exit code
发送 435785657 字节 接收 92 字节 58104766.53 字节/秒 总大小为 435732165 加速比为 1.00 警告:无法为签名者“Apple Development:********”/Users/Saif/Library/ 构建自签名根链Developer/Xcode/DerivedData/Runner-bemaxobcrmqabgcgltuauohrwrje/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications/myapp.app/Frameworks/App.framework/App: errSecInternalComponent 命令 PhaseScriptExecution 失败,退出代码非零
i am just stuck on this error for about 3 days.我只是在这个错误上停留了大约 3 天。 tried each and every solution available on stackoverflow and apple developer stack.
尝试了 stackoverflow 和 apple developer stack 上可用的每一个解决方案。
Flutter: 2.0.1 Xcode: 11.2.1 Flutter:2.0.1 Xcode:11.2.1
There's nothing any issue i think, the reason behind this i have an old version of xcode, i just update the xcode for newest version and than its all fine.我认为没有任何问题,这背后的原因是我有一个旧版本的 xcode,我只是将 xcode 更新为最新版本,而且一切都很好。
flutter build ipa
flutter build ipa
Runner.xcarchive
Runner.xcarchive
Runner.xcarchive
with XcodeRunner.xcarchive
As per the docs:根据文档:
https://docs.flutter.dev/deployment/ios#create-a-build-archive-with-xcode https://docs.flutter.dev/deployment/ios#create-a-build-archive-with-xcode
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.