Search code examples
iosiphoneflutterapple-developerflutter-build

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.

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


Solution

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