Contents

CFBundleCopyExecutableArchitectures(_:)

Returns an array of CFNumbers representing the architectures a given bundle provides.

Declaration

func CFBundleCopyExecutableArchitectures(_ bundle: CFBundle!) -> CFArray!

Parameters

  • bundle:

    The bundle to examine.

Return Value

If the bundle’s executable exists and is a Mach-O file, returns an array of CFNumbers whose values are integers representing the architectures the file provides. Possible values are listed in Architecture Types. If the executable is not a Mach-O file, returns NULL. Ownership follows the The Create Rule.

See Also

Getting Bundle Properties