M1 optimized apps

Hi there. I just started my journey into programming. I’m confused about the Arm architecture. Say I only want to develop apps for MacOS written in Swift. Does it mean that my app will automatically be optimized for M1? I hear a lot about how other larger apps are still not optimized. So if they were written for Intel chips, what language did they use. Or how do you write code for M1?

Thank you.

Replies

If you're starting, you should not bother too much about it.

Key point is you have several options;

  • create apps for Intel Taget

-> when running on M1, they will use Rosetta "emulator"

  • create executable for Intel and M1
  • create M1 only is not yet an option

See details here: https://www.imore.com/how-identify-intel-based-apps-m1-mac

  • To add on to this - if you are creating your app through Xcode, it will automatically build your app for Apple Silicon + Intel. You can check your project file, under Build Settings, Architectures, Architectures, you should see something like 'Standard Architectures (Apple Silicon, Intel) - $(ARCHS_STANDARD)'

Add a Comment