51
votes

I have started to learn flutter by Google and installed it in android studio. I have an emulator for Android but I don't know how to run this in iOS.

Is it possible to run an iOS emulator in windows? If yes, how can I do that?

4
using VMWare u can install Xcode and then u can use IOS simulate for running any application in IOS - Ali
any other way that consume lot of ram and process - Jigar Fumakiya
see my below answer hope it's helpful for u - Ali
any way for ubuntu ? - Akhil Surapuram
This only will help you to show how the UI works on iOS. ![enter image description here](i.stack.imgur.com/D0E8Z.jpg) try this then run - Hamdy Abd El Fattah

4 Answers

51
votes

If the purpose is only testing how the UI works on iOS, then Flutter Inspector will do the job.

Click on the Flutter Inspector from the right pane and click on 'Toggle Platform Mode' from the top menu of the newly opened box. This will change the UI of the running app on your device.

12
votes

Most iOS developers use (in a separate window) VMWare WorkStation (a virtual Machine) and install MacOS with XCode.

You can always go back to VMWare, but these 2 links might be helpful.

https://www.dreamytricks.net/ios-emulator-windows-run-ios-apps/

https://developer.xamarin.com/guides/cross-platform/windows/ios-simulator/

5
votes

It seems there is no direct way to run the app on iOS emulator unless you use Mac pc or laptop. However, this article provides you with an indirect way to run the app. Developing and debugging Flutter apps for iOS without a Mac

0
votes

maybe it's too late. But I will answer anyway. You can try IOS UI using this flutter package device_preview.