Home > database >  Flutter project in iOS emulator takes forever to run, but its worked on Android emulator
Flutter project in iOS emulator takes forever to run, but its worked on Android emulator

Time:04-25

I'm working on a Flutter project, and when I run the project with the Andriod emulator it works fine, but when I try the iOS emulator it takes forever (or maybe never) to run and the debug console shows "Launching lib/main.dart on iPhone 11 in debug mode.."

I tried the iOS emulator with another project and its works without any problems.

CodePudding user response:

Try flutter clean and flutter build ios in android studio before opening project in xcode. After successful build open the project in XCode and run in emulator.

CodePudding user response:

As akdev answered that steps are necessary but if you added any plugin to your flutter app then also go to iOS folder using cd ios and use pod install hope this works.

  • Related