if anyone makes a pull request to Flutter that makes it use libimobiledevice tools instead of XCode tools (see ).If you are interested in working on making a new method to do exactly this, there are 2 ways I can think of: It’s still technically possible to debug (hot reload and hot restart) without ever touching macOS. What won’t work anymore from here is debugging on iOS. This tutorial is now outdated, but it is still available for reference purposes, since you can still build apps this way and install them on iOS devices. At the moment, you can downgrade to Flutter 1.12.13+hotfix.9, or use the new Codemagic feature that allows you to remote control a Mac VM, and run a virtual device there ( ) Update: Flutter 1.17.0 now uses XCode instead of libimobiledevice to list devices. If these instructions aren’t specific enough to you, or you think it would be of value to write a tutorial to replicate my setup, please let me know in the comments section of I’m not sure if usbfluxd runs on Windows to begin with, so this may only be possible on Linux now. Docker-OSX is another option, and has a good Discord community so it’s probably the easiest one to get support to troubleshoot any issues.Īs for Windows, I don’t have any VM recommendations. Sosumi is a snap package that automates all VM setup, if you use Ubuntu or like Snaps. On Linux, I like using OSX-KVM, because I prefer Virt Manager, and my script is written for that specific setup (if you have a different setup, you’ll need to change the IP addresses). However, since using a VM requires beefier computers with enough RAM for both the host and guest, I don’t think this is a replacement for what this former tutorial achieved, which worked on 4 GB of RAM and maybe even 2. I wrote a script that automates all commands needed to do this. It is now possible to use a macOS VM to run and debug Flutter apps on iOS devices, thanks to usbfluxdwhich is a useful tool that redirects iOS devices connected via USB from the host to the guest (or any two machines).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |