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

# kSecCSUseAllArchitectures

Flag for requesting all architectures.

```
var kSecCSUseAllArchitectures: UInt32 { get }
```

## Discussion

When this flag is used, if code refers to a single architecture of a universal binary, return a [`SecStaticCode`](/documentation/Security/SecStaticCode) object that refers to the entire universal code with all its architectures. By default, the returned static reference identifies only the actual architecture of the running program.

---

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)