Contains a resource reader for Mach-O files

This unit contains , a TAbstractResourceReader descendant that is able to read Mach-O object files containing resources.

Adding this unit to a program's uses clause registers class with TResources.

Mach-O resource reader

This class provides a reader for Mach-O object files and images containing resources.

Mach-O is the file format used by Darwin and Mac OS X for object files and image files (executables, dynamic libraries and so on). Free Pascal can store resources in Mach-O files in its own format.

After an object file has been read, MachineType property holds the machine type the object file was built for.

This reader can't read multiple-architecture Mach-O files (like universal binary). To read a particular Mach-O file in a multiple-architecture file, extract it with lipo command.
TAbstractResourceReader TMachOResourceWriter
The machine type of the object file

This property holds the machine type of the object file that has been read.

Obviously, this property is meaningful only after an object file has been read.
TMachOMachineType