Instance Method

pathForAuxiliaryExecutable:

Returns the full pathname of the executable with the specified name in the receiver’s bundle.

Declaration

- (NSString *)pathForAuxiliaryExecutable:(NSString *)executableName;

Parameters

executableName

The name of an executable file.

Return Value

The full pathname of the executable executableName in the receiver’s bundle.

Discussion

This method returns the appropriate path for modern application and framework bundles. This method may not return a path for non-standard bundle formats or for some older bundle formats.

See Also

Getting the Standard Bundle Directories

resourceURL

The file URL of the bundle’s subdirectory containing resource files.

executableURL

The file URL of the receiver's executable file.

privateFrameworksURL

The file URL of the bundle’s subdirectory containing private frameworks.

sharedFrameworksURL

The file URL of the receiver's subdirectory containing shared frameworks.

builtInPlugInsURL

The file URL of the receiver's subdirectory containing plug-ins.

- URLForAuxiliaryExecutable:

Returns the file URL of the executable with the specified name in the receiver’s bundle.

sharedSupportURL

The file URL of the bundle’s subdirectory containing shared support files.

appStoreReceiptURL

The file URL for the bundle’s App Store receipt.

resourcePath

The full pathname of the bundle’s subdirectory containing resources.

executablePath

The full pathname of the receiver's executable file.

privateFrameworksPath

The full pathname of the bundle’s subdirectory containing private frameworks.

sharedFrameworksPath

The full pathname of the bundle’s subdirectory containing shared frameworks.

builtInPlugInsPath

The full pathname of the receiver's subdirectory containing plug-ins.

sharedSupportPath

The full pathname of the bundle’s subdirectory containing shared support files.