---
title: forceKill
framework: security
role: symbol
role_heading: Type Property
path: security/seccodesignatureflags/forcekill
---

# forceKill

Always set the termination status flag on launch.

## Declaration

```swift
static var forceKill: SecCodeSignatureFlags { get }
```

## Discussion

Discussion The kSecCodeStatusKill flag indicates that the code wishes to be terminated if it is ever invalidated. Once this is set, it cannot be cleared. Therefore, setting this option flag guarantees that the running code will always be valid, since it will die immediately if it becomes invalid.
