Affordable MacBook for building a Flutter application - eviltoast

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.

  • Pechente@feddit.de
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 year ago

    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.

    • CameronDev@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      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 :/

  • 2xsaiko@discuss.tchncs.de
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    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.

    • sajran@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

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

  • heavyboots@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    1 year ago

    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.

    • sajran@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      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!

  • loo@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    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.

    • sajran@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      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!