Function

CFBundleCopyExecutableURL

Returns the location of a bundle’s main executable code.

Declaration

CFURLRef CFBundleCopyExecutableURL(CFBundleRef bundle);

Parameters

bundle

The bundle to examine.

Return Value

A CFURL object describing the location of bundle’s executable code, or NULL if none is found. Ownership follows the The Create Rule.

See Also

Finding Locations in a Bundle

CFBundleCopyAuxiliaryExecutableURL

Returns the location of a bundle’s auxiliary executable code.

CFBundleCopyBuiltInPlugInsURL

Returns the location of a bundle’s built in plug-in.

CFBundleCopyPrivateFrameworksURL

Returns the location of a bundle’s private Frameworks directory.

CFBundleCopyResourcesDirectoryURL

Returns the location of a bundle’s Resources directory.

CFBundleCopySharedFrameworksURL

Returns the location of a bundle’s shared frameworks directory.

CFBundleCopySharedSupportURL

Returns the location of a bundle’s shared support files directory.

CFBundleCopySupportFilesDirectoryURL

Returns the location of the bundle’s support files directory.