this post was submitted on 06 Nov 2023
4 points (83.3% liked)

Apple

890 readers
2 users here now

Here you can talk about Apple's ecosystem, Apple's OSs (Operating Systems), Apple's apps, Apple's everything!!

founded 4 years ago
MODERATORS
 

Hi guys,

I'm currently building a mobile application using Flutter. Until now my target platform was Android but I'd like to build and publish it for iOS as well. For this I need access to macOS environment, both to build the application and to test it in iOS Simulator. Please note that I don't intend to actually develop on this machine.

I'm considering a few options like running macOS VM on my machine (no luck so far) or using some kind of cloud VM. The most obvious option is to just buy a Mac of course. However, I really don't want to spend a lot on this and Apple computers aren't exactly known for being affordable. Here's my question: which MacBook would you recommend to buy used just for the purposes I listed above?

I tried googling this of course but it's really hard for me to find any useful advice. Please note that I have no knowledge about Apple devices and ecosystem whatsoever, I never used any of them.

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 1 year ago (2 children)

I‘d suggest a used M1 MacBook Air with 16 GB of RAM. They should be relatively cheap now and they’re still great machines.

[–] [email protected] 2 points 1 year ago

Thanks for the recommendation!

[–] [email protected] 2 points 1 year ago

Seconded, I have one, and its a great little machine for deving. Not sure how affordable it is now though, i got mine second hand for a steal, havent found any others since :/

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

If you're just testing on it you can get away wit pretty much anything as long as it's Apple Silicon. I would think a used M1 Mini is probably your cheapest bet, and as a bonus you can use it as a media serve for Plex of something when you're not testing on it.

If it's got to be a laptop form factor, then yes, an MBA is probably your best bet.

[–] [email protected] 3 points 1 year ago

A laptop would be probably easier to manage for me and I see that both have a similar price so I would probably go with MBA. Thanks for the answer!

[–] [email protected] 4 points 1 year ago (1 children)

Does it have to be a MacBook? If you just want to use it to build and test the simulator, you can get a used old (x86) Mac mini for ~150€ on eBay. Though maybe it’s a better idea for longevity to go with Apple Silicon, I have no idea how long x86 will keep getting updates.

[–] [email protected] 3 points 1 year ago

I would prefer a laptop but every response is helpful. Thank you!

[–] loo 2 points 1 year ago (1 children)

I believe you can build and publish IOS apps using GitHub Actions without requiring a Mac. Take a look at this article. I don't have much experience with building apps for IOS, so I could be wrong. Hope this helps.

[–] [email protected] 3 points 1 year ago

You're right. Just building and publishing is definitely possible without owning a Mac. The thing is, I don't have an iPhone too and I need to see my app in action. Thank you for the answer tho!