Mason Zhang
Mason Zhang

Reputation: 1

CocoaPods not installed or not in valid state. Error launching application on iPhone 12 when flutter run on ios simulator

Warning: CocoaPods not installed. Skipping pod install. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side. Without CocoaPods, plugins will not work on iOS or macOS. For more info, see https://flutter.dev/platform-plugins To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

CocoaPods not installed or not in valid state. Error launching application on iPhone 12.

Upvotes: 0

Views: 192

Answers (1)

Mason Zhang
Mason Zhang

Reputation: 1

I tried running flutter doctor,everything was okay. So I found another solution.

  1. Close android studio
  2. Open android studio through the terminal

open /Applications/Android\ Studio.app

  1. Open your project again and run ,it works.

I hope someone finds another solution. because this always happens.

Upvotes: 0

Related Questions