Mach-O

Mach-O
Mac OS X Executable Binary icon
Filename extension
none, .o, .dylib
Uniform Type Identifier (UTI)com.apple.mach-o-binary
Developed byCarnegie Mellon University, Apple Inc.
Type of formatBinary, executable, object, shared libraries, core dump
Container forARM, SPARC, PA-RISC, PowerPC and x86 executable code, memory image dumps

Mach-O, short for Mach object file format, is a file format for executables, object code, shared libraries, dynamically loaded code, and core dumps. It was developed to replace the a.out format.

Mach-O is used by some systems based on the Mach kernel. NeXTSTEP, macOS, and iOS are examples of systems that use this format for native executables, libraries and object code.