Flutter CocoaPods (Podfile) Fix

  1. Update CocoaPod if it is not updated (if not installed, run command: sudo gem install cocoapods)
  2. Make flutter channel to master (cmd: flutter channel master)
  3. Upgrade flutter (cmd: flutter upgrade)
  4. Switch to flutter project directory (cmd: cd <project-folder>)
  5. Clean flutter project (cmd: flutter clean) then get dependencies (cmd: flutter pub get)
  6. Change to ios folder in project directory (cmd: cd ios)
  7. Deintegrate pod (cmd: pod deintegrate)
  8. Install pod (cmd: pod install)




Read details on Twitter/LinkedIn

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Android UI Testing using Kakao DSL— Part 1

Google just terminated my Google Play Developer account forever

Notifications in kotlin — Beginner — In-Depth Guide

Android UI Layouts — LinearLayout — Beginner

Mastering ConstraintLayout — Part 1

Generelly A Lifecycle, describes the series of stages that an individual organism passes through…

Stop Using If-Else and Start Using When in Kotlin

How to use viewBinding in Kotlin— In-Depth Guide

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Read details on Twitter/LinkedIn

More from Medium

A simple Favorites app via Riverpod: Part1

What is Google Flutter? | Everything You Need To Know About Flutter

4 reasons why to use Flutter 💙

Flutter — The Chosen One