Returns the file URL of the executable with the specified name in the receiver’s bundle.
- iOS 4.0+
- macOS 10.6+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The name of an executable file.
The file URL 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 URL 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