---
title: executableArchitectures
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/bundle/executablearchitectures
---

# executableArchitectures

An array of numbers indicating the architecture types supported by the bundle’s executable.

## Declaration

```swift
var executableArchitectures: [NSNumber]? { get }
```

## Discussion

Discussion An array of NSNumber objects, each of which contains an integer value corresponding to a supported processor architecture. For a list of common architecture types, see the constants in Mach-O Architecture. If the bundle does not contain a Mach-O executable, this is nil. The bundle scans its Mach-O executable and returns all of the architecture types it finds. Because they are taken directly from the executable, the values may not always correspond to one of the well-known CPU types defined in Mach-O Architecture.

## See Also

### Loading code from a bundle

- [preflight()](foundation/bundle/preflight().md)
- [load()](foundation/bundle/load().md)
- [loadAndReturnError()](foundation/bundle/loadandreturnerror().md)
- [unload()](foundation/bundle/unload().md)
- [isLoaded](foundation/bundle/isloaded.md)
- [Mach-O Architecture](foundation/1495005-mach-o-architecture.md)
