---
title: executableURL
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/bundle/executableurl
---

# executableURL

The file URL of the receiver’s executable file.

## Declaration

```swift
var executableURL: URL? { get }
```

## See Also

### Getting the standard bundle directories

- [resourceURL](foundation/bundle/resourceurl.md)
- [privateFrameworksURL](foundation/bundle/privateframeworksurl.md)
- [sharedFrameworksURL](foundation/bundle/sharedframeworksurl.md)
- [builtInPlugInsURL](foundation/bundle/builtinpluginsurl.md)
- [url(forAuxiliaryExecutable:)](foundation/bundle/url(forauxiliaryexecutable:).md)
- [sharedSupportURL](foundation/bundle/sharedsupporturl.md)
- [appStoreReceiptURL](foundation/bundle/appstorereceipturl.md)
- [resourcePath](foundation/bundle/resourcepath.md)
- [executablePath](foundation/bundle/executablepath.md)
- [privateFrameworksPath](foundation/bundle/privateframeworkspath.md)
- [sharedFrameworksPath](foundation/bundle/sharedframeworkspath.md)
- [builtInPlugInsPath](foundation/bundle/builtinpluginspath.md)
- [path(forAuxiliaryExecutable:)](foundation/bundle/path(forauxiliaryexecutable:).md)
- [sharedSupportPath](foundation/bundle/sharedsupportpath.md)
