简体   繁体   中英

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. 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

在此处输入图像描述

i am just stuck on this error for about 3 days. tried each and every solution available on stackoverflow and apple developer stack.

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.

  1. Run flutter build ipa
  2. Once build is done. Open Runner.xcarchive
  3. Open Runner.xcarchive with Xcode
  4. It'll take you to the Distribute App page so you can upload the app

As per the docs:

https://docs.flutter.dev/deployment/ios#create-a-build-archive-with-xcode

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM