---
title: badCPUType
framework: system
role: symbol
role_heading: Type Property
path: system/errno/badcputype
---

# badCPUType

Bad CPU type in executable.

## Declaration

```swift
static var badCPUType: Errno { get }
```

## Mentioned in

Adopting Swift Error Constants

## Discussion

Discussion The specified executable doesn’t support the current CPU. The corresponding C error is EBADARCH.

## See Also

### Executable File Errors

- [badExecutable](system/errno/badexecutable.md)
- [execFormatError](system/errno/execformaterror.md)
- [malformedMachO](system/errno/malformedmacho.md)
- [sharedLibraryVersionMismatch](system/errno/sharedlibraryversionmismatch.md)
