回覆 86# DeathKnight
To build a universal binary, you need Xcode 12 or a later version, which adds arm64 to the standard list of build architectures for macOS binaries. When you open your project and do a clean build, Xcode creates a universal binary automatically if your project uses the standard architectures. If you use custom makefiles or build scripts, add the arm64 architecture to your build system.
https://developer.apple.com/docu ... ps_to_apple_silicon |