flutter / flutter-intellij

Flutter Plugin for IntelliJ
https://flutter.dev/using-ide
BSD 3-Clause "New" or "Revised" License
1.98k stars 320 forks source link

Building iOS on deported Mac #3071

Open jaumard opened 5 years ago

jaumard commented 5 years ago

That's a feature that Xamarin have for some time now and I find it really useful. My colleague is working a windows computer, so he can't run/test/debug on a Mac at all.

What Xamarin does is it allow you to choose a Mac machine on your network, then when you want to deploy on an iOS device, it build the iOS app on the deported Mac (where the IDE is also installed, I think they dialog as simple http client/server) and then go back to windows once it's done to install the build on the device. Then you can run/debug iOS app on a Windows machine.

I can imagine this feature is quite huge to implement, but that one thing that was really useful/attractive for developers.

devoncarew commented 5 years ago

Hi @jaumard, thanks for the feedback here. I agree that this is an important use case for us to support. I'm adding some other people that have discussed similar; we'll keep this issue open to track the feature request.

cc Chris Sells, @jacob314

csells commented 5 years ago

@jaumard Can you describe how you think this feature should work? is the requirement to have a MacOS machine on your local subnet one that works for you?

jm-parent commented 5 years ago

I guess he means " how to pair Visual Studio with Mac Agent" and yes its means having a MacOS machine on local subnet :)

https://docs.microsoft.com/en-us/xamarin/ios/get-started/installation/windows/connecting-to-mac/

jaumard commented 5 years ago

Thanks @jm-parent I wasn't able to find that page again ^^ everything is describe under that page @csells, but yes having the MacOS machine a local subnet is a requirement for Xamarin, but I guess that if it works over SSH we can imagine that it can become optional (but recommended at least for speed ^^)

AnNEDoMini commented 5 years ago

That feature would be awesome. But it may lead to have some sort of non-windows Swift/Objc editor, some toolset with ability to understande xcode project.

jaumard commented 5 years ago

Swift/Objc editor is not mandatory if you don't need native code, so it's nice to have but not a blocker for the feature, same for the Xcode project I'll say... I can easily see doing the setup of Xcode project under a Mac, once it's done it's done you just need to deal with dart code mainly. Same way as Xamarin in fact ^^