Can I run iOS emulator on Windows using Android studio Avd manger?
No, it is not possible. Any iOS operations require Xcode.
So either use an OSX virtual machine or use a mac. But from Windows, you won't be able to run an iOS emulator.
In order to test your flutter app in iOS Simulator,you have to do the following installation procedures into your MacBook:
- Install Android Studio/Visual Studio Code and all the Flutter/Dart Plugins/Extensions.
- Make Sure that your XCode version is >= 9.2
- Install Flutter Bundle for Mac
- After Running the Flutter doctor in the terminal and make sure all the important dependencies are installed.
- Import the Flutter Project from the Windows to the Mac and Open it in the Android Studio/Visual Studio or Copy Paste the Code from the Windows to the Mac
main.dart
file - Open iOS Simulator and test the flutter app from the Android Studio/Visual Studio device selection
Unfortunately it's impossible :(
Flutter app can run on Android and IOS emulators with Android Studio, but ONLY on Apple machines (not Windows). So if you have Android Studio installed on Windows machine you won't have IOS emulator.
This info isn't obvious in Android Studio documentation, but you can find more details in Flutter installation guide:
- macOS install (Flutter, Android Studio, emulators for Android and IOS)
- Windows install (Flutter, Android Studio, emulator for Android)
So in your case the best way is to develop flutter apps on your Mac.
You cannot create an iOS emulator.. However, after running your app on Android simulator you can go to:
- Flutter inspector
- Platform and then select iOS or Android to override target platform which will toggle rendering and gesture behaviors between Android and iOS.