A Universal binary is a single macOS executable file that contains separate native code for several processor architectures, so the same app runs at full speed on different kinds of Mac. In Apple silicon & compatibility, the current form, Universal 2, combines code for Apple silicon (arm64) and for Intel processors (x86_64) in one application bundle.
When the app launches, macOS selects the matching slice automatically, and the user never chooses a version. This makes the Universal binary the main tool that lets developers support both generations of Mac during a transition without shipping two separate downloads.
How a Universal binary is built and loaded
Executables on macOS use the Mach-O format. A Universal binary wraps several complete Mach-O images, called slices or architecture variants, inside a container with a short header, often called a fat header. The header lists each architecture, its offset in the file and its size.
At launch, the kernel and the dynamic linker read the header, pick the slice that matches the CPU and map only that slice into memory. The other slices stay on disk unused, so a Universal binary costs disk space but not memory or speed.
The principle applies to every compiled component, not only the main executable. Frameworks, plug-ins, command-line tools and dynamic libraries inside the app must each contain the needed architectures, or the app fails to load them natively.
| Architecture | Processor family | Status |
|---|---|---|
| arm64 | Apple silicon M-series | Current native target |
| arm64e | Apple silicon with pointer authentication | Used by system components |
| x86_64 | 64-bit Intel | Supported for Intel-based Macs |
| i386 | 32-bit Intel | Not runnable since macOS Catalina |
| ppc and ppc64 | PowerPC | Not runnable on current macOS |
Universal and Universal 2 generations
Apple has used the same mechanism for two processor transitions. The original Universal binary arrived with the move from PowerPC to Intel in the mid-2000s, and Universal 2 arrived with the move from Intel to Apple silicon in 2020, supported from Xcode 12 onward.
| Generation | Architectures combined | Transition | Translation layer |
|---|---|---|---|
| Universal | PowerPC and Intel | PowerPC to Intel | Rosetta |
| Universal 2 | Intel and Apple silicon | Intel to Apple silicon | Rosetta 2 |
In both cases the Universal binary was the preferred end state, while the translation layer was a bridge for software that had not yet been rebuilt. Native code avoids translation overhead and runs with full access to processor features.
Universal binary compared with other compatibility approaches
A Universal binary is one of several ways software reaches Apple silicon. It differs from translation and virtualization because every supported processor runs native instructions.
| Approach | How it works | Performance | Typical case |
|---|---|---|---|
| Universal binary | Native slice for each architecture | Native on both | Current Mac apps |
| Apple silicon only | Single arm64 slice | Native on Apple silicon | Apps that dropped Intel support |
| Intel only with Rosetta 2 | x86_64 code translated ahead of time | Usually slower than native | Unmaintained apps |
| Virtualization | Whole guest OS in a virtual machine | Native for arm64 guests | Linux or Windows on ARM |
| Mac Catalyst | iPad code rebuilt for macOS | Native | Apps shared with iPad |
A Universal binary can also be forced to run its Intel slice on Apple silicon through the Open using Rosetta option in the Finder information window. This helps when an app depends on an old Intel-only plug-in that cannot load into a native process.
Building and inspecting Universal binaries
In Xcode, the standard architectures setting produces a Universal 2 build automatically for release archives. Outside Xcode, compilers accept repeated architecture flags such as -arch arm64 -arch x86_64, and the lipo tool combines, splits or lists slices in an existing file.
| Command | What it shows or does | Typical use |
|---|---|---|
file | Lists architectures in a binary | Quick check of a download |
lipo -info | Prints the slices present | Verifying a build |
lipo -create | Merges single-architecture builds | Custom build pipelines |
lipo -thin | Extracts one slice | Reducing size for one platform |
Users can see the result without Terminal: the Kind field in the Finder information window shows Application (Universal) for a Universal binary and Application (Intel) or Application (Apple silicon) for single-architecture apps.
Trade-offs and common pitfalls
The main cost of a Universal binary is larger file size. Only the compiled code is duplicated, while images, sounds and other resources are shared, so the total growth depends on how much of the app is code; for code-heavy apps it can approach double the executable size.
- A missing slice in one framework forces the whole app into translation or makes it crash at launch.
- Precompiled third-party libraries often lag behind and block a native build.
- Testing only on one architecture hides bugs in the other slice, such as code that assumes Intel behavior.
- Stripping slices manually to save space breaks the code signature unless the app is signed again.
Because the Intel market keeps shrinking, many developers will eventually drop the x86_64 slice, at which point the app becomes Apple silicon only and stops running on Intel-based Macs.
In simple terms
A Universal binary is like a user manual printed in two languages inside one cover. A reader opens it and simply reads the part in the language they understand, ignoring the other.
For a Mac, the two languages are the instructions for Apple chips and the instructions for Intel chips. The Mac reads only its own part, so the app runs at full speed on either kind of computer, at the cost of a somewhat bigger download.
A practical example
A design studio uses a mix of older Intel-based iMacs and newer MacBook Pro models with M-series chips. Its staff rely on an image-processing app and a small in-house export tool written by a contractor years ago.
The image-processing app is distributed as a Universal 2 binary, so the same installer works on every machine and runs natively everywhere. The in-house tool, however, shows Application (Intel) in Finder and runs through Rosetta 2, taking noticeably longer on large batch exports.
The contractor rebuilds the tool with both architectures in Xcode and verifies the result with lipo -info. After one shared update, the tool runs natively on every Mac in the studio, and batch exports on the Apple silicon laptops finish faster without any change for the Intel users.