<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: 18.4.0 -",
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemExtensions",
  "identifier" : "/documentation/SystemExtensions/OSSystemExtensionError/Code",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "System Extensions"
    ],
    "preciseIdentifier" : "c:@E@OSSystemExtensionErrorCode"
  },
  "title" : "OSSystemExtensionError.Code"
}
-->

# OSSystemExtensionError.Code

Error codes for system extensions.

```
enum Code
```

## Topics

### Error Codes

[`OSSystemExtensionError.Code.unknown`](/documentation/SystemExtensions/OSSystemExtensionError/Code/unknown)

An error code that indicates an unknown error occurred.

[`OSSystemExtensionError.Code.missingEntitlement`](/documentation/SystemExtensions/OSSystemExtensionError/Code/missingEntitlement)

An error code that indicates the system extension lacks a required entitlement.

[`OSSystemExtensionError.Code.unsupportedParentBundleLocation`](/documentation/SystemExtensions/OSSystemExtensionError/Code/unsupportedParentBundleLocation)

An error code that indicates the extension’s parent app isn’t in a valid location for activation.

[`OSSystemExtensionError.Code.extensionNotFound`](/documentation/SystemExtensions/OSSystemExtensionError/Code/extensionNotFound)

An error code that indicates the manager can’t find the system extension.

[`OSSystemExtensionError.Code.extensionMissingIdentifier`](/documentation/SystemExtensions/OSSystemExtensionError/Code/extensionMissingIdentifier)

An error code that indicates the extension identifier is missing.

[`OSSystemExtensionError.Code.duplicateExtensionIdentifer`](/documentation/SystemExtensions/OSSystemExtensionError/Code/duplicateExtensionIdentifer)

An error code that indicates the extension identifier duplicates an existing identifier.

[`OSSystemExtensionError.Code.unknownExtensionCategory`](/documentation/SystemExtensions/OSSystemExtensionError/Code/unknownExtensionCategory)

An error code that indicates the extension manager can’t recognize the extension’s category identifier.

[`OSSystemExtensionError.Code.codeSignatureInvalid`](/documentation/SystemExtensions/OSSystemExtensionError/Code/codeSignatureInvalid)

An error code that indicates the extension’s signature is invalid.

[`OSSystemExtensionError.Code.validationFailed`](/documentation/SystemExtensions/OSSystemExtensionError/Code/validationFailed)

An error code that indicates the manager can’t validate the extension.

[`OSSystemExtensionError.Code.forbiddenBySystemPolicy`](/documentation/SystemExtensions/OSSystemExtensionError/Code/forbiddenBySystemPolicy)

An error code that indicates the system policy prohibits activating the system extension.

[`OSSystemExtensionError.Code.requestCanceled`](/documentation/SystemExtensions/OSSystemExtensionError/Code/requestCanceled)

An error code that indicates the system extension manager request was canceled.

[`OSSystemExtensionError.Code.requestSuperseded`](/documentation/SystemExtensions/OSSystemExtensionError/Code/requestSuperseded)

An error code that indicates the system extension request failed because the system already has a pending request for the same identifier.

[`OSSystemExtensionError.Code.authorizationRequired`](/documentation/SystemExtensions/OSSystemExtensionError/Code/authorizationRequired)

An error code that indicates the system was unable to obtain the proper authorization.



---

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)