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
    ·
    8 months 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
      ·
      8 months 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 :/

  • heavyboots@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    8 months 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
      ·
      8 months 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!

  • 2xsaiko@discuss.tchncs.de
    link
    fedilink
    arrow-up
    4
    ·
    8 months 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
      ·
      8 months ago

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

  • loo@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    8 months 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
      ·
      8 months 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!