Hacker News new | past | comments | ask | show | jobs | submit login

Thanks. Is having XCode necessary in order to build and publish for iOS (I guess yes)? I don't use apple computers and use linux, so if that's the case I'd need to buy a Mac and XCode to do so, no?



For iOS apps, you need a Mac. Maybe (and this is theoretical) you could set up a combined Fastlane & CI integration that builds the apps using some cloud service, such as Macincloud, Bitrise, etc. Fastlane would then build and upload the iOS test builds automatically so can use them on your phone using the internal testing group in TestFlight. When everything seems fine, then you can just promote the internal test build to production. Since Flutter custom renders everything, you could do most of the development on a Linux machine and test on Android emulator/device.

For just Android, you don't need a Mac at all.


WRT cloud building: yes, it'd be more ideal to have a Mac especially if you want any platform specific UX or features but you can definitely get around it using just a Linux machine, an iOS device and some CI system.

The Flutter project itself does it at https://github.com/flutter/flutter/blob/master/examples/flut.... You can then self-add to your TestFlight and check that way. Though you can't debug.

You can also get around it using just a Linux and an Android device. You can press 'o' after you flutter run to change the platform on the fly to get iOS scroll physics, page transitions etc etc. But again, testing on the devices your users will be using is more ideal.

[disclaimer: I'm on the Flutter team]




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: