Returns the full pathname of the executable with the specified name in the receiver’s bundle.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
- Mac Catalyst 13.0+Beta
The name of an executable file.
The full pathname of the executable
executableName in the receiver’s bundle.
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.
Getting the Standard Bundle Directories
The file URL of the bundle’s subdirectory containing resource files.
The file URL of the bundle’s subdirectory containing shared support files.
The full pathname of the bundle’s subdirectory containing resources.
The full pathname of the bundle’s subdirectory containing shared support files.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software