<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetricKit",
  "identifier" : "/documentation/MetricKit/ForegroundTerminationMetric/illegalInstructionTerminationCount",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MetricKit"
    ],
    "preciseIdentifier" : "s:9MetricKit021ForegroundTerminationA0V018illegalInstructionD5CountSivp"
  },
  "title" : "illegalInstructionTerminationCount"
}
-->

# illegalInstructionTerminationCount

The number of times the system terminated the app from the foreground for attempting to execute an illegal or undefined instruction.

```
let illegalInstructionTerminationCount: Int
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)