Apple silicon
Get the resources you need to create software for Macs with Apple silicon.
Overview
Build apps, libraries, frameworks, plug-ins, and other executable code that run natively on Apple silicon. When you build executables on top of Apple frameworks and technologies, the only significant step you might need to take is to recompile your code for the arm64 architecture. If you rely on hardware-specific details or make assumptions about low-level features, modify your code as needed to support Apple silicon.
[Image]
Getting the best performance on Apple silicon sometimes requires making adjustments to the way you use hardware resources. Minimize your dependence on the hardware by using higher-level technologies whenever possible. For example, use Grand Central Dispatch instead of creating and managing threads yourself. Test your changes on Apple silicon to verify that your code behaves optimally.
Topics
Essentials
General porting tips
Addressing architectural differences in your macOS codePorting your audio code to Apple siliconPorting just-in-time compilers to Apple silicon
Graphics
Performance
Rosetta
iOS apps on Mac
Running your iOS apps in macOSAdapting iOS code to run in the macOS environmentProviding touch gesture equivalents using Touch AlternativesProviding an edge-to-edge, full-screen experience in your iPad app running on a Mac
Kernel and drivers
Implementing drivers, system extensions, and kextsInstalling a custom kernel extensionDebugging a custom kernel extension