1

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.

enter image description here

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

enter image description here

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

2 Answers2

0

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.

  • What's your new XCode version? I'm having a similar issue, but with 11.3 – earlyriser Jun 03 '21 at 04:22
  • do check your macOS version specific xcode release from here https://xcodereleases.com. in my case i have running macOS catalina and have older version of xcode, so i can only upgrade xcode to 12.4 which catalina could support as mentioned in xcoderelease, by manually downloading the file, everything went fine :D – Saif Ur Rehman Saif Jun 03 '21 at 19:56
-1
  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

domtom
  • 27
  • 5