Home > Net >  Flutter: build failed iOS running pod install
Flutter: build failed iOS running pod install

Time:11-13

I'm trying to build iOS Flutter app. It throwns me this error:

https://pastebin.com/NG6EWWcj

Error running pod install

CodePudding user response:

Your logs show two errors

First

Specs satisfying the `cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`)` dependency were found, but they required a higher minimum deployment target.

This tells you that if you want to use cloud_firestore, you will have to increase your minimum iOS version requirement. The process to do that is explained here e.g.

  [!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

This question has already been answered in detail here.

CodePudding user response:

Run this command arch -x86_64 pod install --repo-update

  • Related