Jigar Fumakiya
Jigar Fumakiya

Reputation: 2319

Flutter: iOS Emulator for Windows

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?

Upvotes: 73

Views: 140578

Answers (5)

Maxime Deuse
Maxime Deuse

Reputation: 433

You can use a tool like Odevio, it's a tool that will let you access a remote Mac OS build machine on which you can test your app.

Odevio is a desktop application that can be installed from the website: https://www.odevio.com

Once installed you can setup your Apple Developer Account with Odevio in the Apple menu.

You can also directly start building within the build menu and with a Configuration build type.

For a more detailed tutorial you can check a full tutorial here : https://odevio-cli.readthedocs.io/en/latest/tutorial/5_create_apple_developer_account.html

Upvotes: 0

Ahmad Almosallam
Ahmad Almosallam

Reputation: 304

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

Upvotes: 8

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

Upvotes: 5

MohammadAli
MohammadAli

Reputation: 3456

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/

Upvotes: 14

Michael Hathi
Michael Hathi

Reputation: 2141

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.

Upvotes: 54

Related Questions