Can I code a macOS daemon+UI for M1, M2 chips on an older Intel Mac?

Hi everyone:

I've been asked to write a macOS daemon along with the UI to configure it to run on the latest macOS Air and Pro laptops with the M1 and M2 chips.

I have an older MacBook Pro with an Intel CPU. It runs macOS v.10.12.6 (Sierra) and I was able to download XCode v.9.2. I can't upgrade it to anything newer than that.

Can I code that daemon+UI in Xcode in Swift using my laptop?

I was thinking to write the source code on it, compile and debug it for the Intel CPU, and then re-compile the ready product for the M1/M2 ARM chips. Is such possible?

Is such possible?

No.
Your Xcode v.9.2 does not support Apple Silicon.

All you can do is write your daemon, to run on an older Intel Mac, with an old version of macOS (Sierra).
You can neither run it (natively), nor even test it, on an Apple Silicon Mac.

Thanks. So what's the way to do it? Buy MacBook Air for that.

The Mac Mini is also good value, and suitable for app development.
A used machine could also be suitable.
If you are buying, be aware that new Mac releases may be imminent.

Oh great. Thanks for advice!

Although, didn't they just release MacBook Airs with M2 chip in July, 2022? Do you think another one is coming soon?

Although, didn't they just release MacBook Airs with M2 chip in July, 2022?

Yep

Do you think another one is coming soon?

Nope

Can I code a macOS daemon+UI for M1, M2 chips on an older Intel Mac?
 
 
Q