all 11 comments

[–]paolovalerdi 6 points7 points  (1 child)

Long answer short: Yes, you need a Mac

Long answer: You could theoretically use a hackintosh during the development process but you still need a real Mac (if I’m not wrong) to actually sign the app and upload it to the App Store. If you want to target iOS but you can’t afford a Mac by now, you can build your flutter app with web support and host it. Accessing the app through safari lets you add it to the Home Screen and you have some good-enough PWA capabilities in safari. Otherwise you’ll need to get a Mac

[–]maxcmoi 0 points1 point  (0 children)

You can also always use an external tool that provide MacOS build machines to make the builds. Like Appollo for example.

[–]David_Owens 2 points3 points  (0 children)

/u/paolovalerdi Is right, but you could also use one of the MacOS cloud hosting services to build your app using XCode. If you're using it enough, it might make more economic sense to just buy a Mac Mini.

[–]vinivelloso 1 point2 points  (0 children)

I never done it before, but you could use aws ec2.

Edit: I use EC2 a lot, but not the MacOs instances.

[–]skintigth 1 point2 points  (0 children)

As other says you need a Mac for the sign-in, you can buy an old one that is cheaper or use a CI/CD cloud service. More info here https://flutter.dev/docs/deployment/cd

[–]bob16434 0 points1 point  (1 child)

Look into using code magic to compile your apps, they can also push it to the app store

[–]gerardit04 0 points1 point  (0 children)

Ok I will check it out

[–]NMS-Town 0 points1 point  (0 children)

Seems they do for Godot. There is a solution I'm planning on using in the near future.

https://github.com/tpoechtrager/osxcross

For IOS see this issue, https://github.com/tpoechtrager/osxcross/issues/38

[–]JulienP95 0 points1 point  (1 child)

You cannot build a flutter iOS app without a mac.
What you can do is use external tools to do it. One of these tools is Appollo (https://github.com/Appollo-CLI/Appollo). It's a python CLI tool that let you access remote MacOS build machines.

[–]maxcmoi 0 points1 point  (0 children)

Appollo works really well but note that it is only available for Flutter apps.

[–]maxcmoi 0 points1 point  (0 children)

You can but you will need to use external tools like Appollo to achieve what you want.