<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/kSecCodeInfoStatus",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@kSecCodeInfoStatus"
  },
  "title" : "kSecCodeInfoStatus"
}
-->

# kSecCodeInfoStatus

A key whose value is the set of code status flags for the running code.

```
let kSecCodeInfoStatus: CFString
```

## Discussion

The value is a <doc://com.apple.documentation/documentation/CoreFoundation/CFNumber> object. This is a snapshot taken at the time the function is executed and may be out of date by the time you examine it. Note, however, that some flag values cannot be changed and are therefore permanently reliable. See [`SecCodeStatus`](/documentation/Security/SecCodeStatus) for a list of possible values.

Specify the [`kSecCSDynamicInformation`](/documentation/Security/kSecCSDynamicInformation) flag when calling the [`SecCodeCopySigningInformation(_:_:_:)`](/documentation/Security/SecCodeCopySigningInformation(_:_:_:)) function to get this information.

---

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)