Instance Property


An array of numbers indicating the architecture types supported by the bundle’s executable.


@property(readonly, copy) NSArray<NSNumber *> *executableArchitectures;


An array of NSNumber objects, each of which contains an integer value corresponding to a supported processor architecture. For a list of common architecture types, see the constants in Mach-O Architecture. If the bundle does not contain a Mach-O executable, this is nil.

The bundle scans its Mach-O executable and returns all of the architecture types it finds. Because they are taken directly from the executable, the values may not always correspond to one of the well-known CPU types defined in Mach-O Architecture.

See Also

Loading Code from a Bundle

- preflightAndReturnError:

Returns a Boolean value indicating whether the bundle’s executable code could be loaded successfully.

- load

Dynamically loads the bundle’s executable code into a running program, if the code has not already been loaded.

- loadAndReturnError:

Loads the bundle’s executable code and returns any errors.

- unload

Unloads the code associated with the receiver.


The load status of a bundle.

Mach-O Architecture

Constants describing the CPU types that a bundle’s executable code supports.