---
title: Code Attributes
framework: security
role: collectionGroup
role_heading: API Collection
path: security/code-attributes
---

# Code Attributes

Specify these keys from the attribute dictionary when you create a static code instance.

## Overview

Overview Use these keys in the attribute dictionary when calling the SecStaticCodeCreateWithPathAndAttributes(_:_:_:_:) function.

## Topics

### Constants

- [kSecCodeAttributeArchitecture](security/kseccodeattributearchitecture.md)
- [kSecCodeAttributeSubarchitecture](security/kseccodeattributesubarchitecture.md)
- [kSecCodeAttributeBundleVersion](security/kseccodeattributebundleversion.md)
- [kSecCodeAttributeUniversalFileOffset](security/kseccodeattributeuniversalfileoffset.md)
