I am trying to create both ios and android app and It works fine for android but for ios while running flutter run it will take lot of time installing pod using pod install and at last it will give an error as shown below.
Error output from CocoaPods:
↳
         Cloning into
         '/var/folders/f6/g4njsx3x5tx5dswcbsh29tdh0000gn/T/d20210605-16785-1rc0t
         ko'...
         fatal: unable to access 'https://github.com/grpc/grpc.git/': Failed to
         connect to github.com port 443: Connection refused
Error running pod install
Error launching application on iPhone 12 Pro Max.
I tried these posts but no luck 
error running pod install 
error running pod install pods-runner
pubsec.yaml
dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^1.0.2
  image_picker: ^0.6.7+17
  firebase_ml_vision: ^0.9.10
  image_cropper: ^1.4.0
  firebase_core: ^0.3.4
  cloud_firestore: ^0.9.13+1
  expandable: ^5.0.1
  web_scraper:
If any extra information needed, Let me know in comments
