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.
Apple
Here you can talk about Apple's ecosystem, Apple's OSs (Operating Systems), Apple's apps, Apple's everything!!
Thanks for the recommendation!
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 :/
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.
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!
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.
I would prefer a laptop but every response is helpful. Thank you!
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.
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!