<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BundleResources",
  "identifier" : "/documentation/BundleResources/Entitlements/com.apple.security.hardened-process.dyld-ro",
  "metadataVersion" : "0.1.0",
  "role" : "Property List Key",
  "symbol" : {
    "kind" : "Property List Key",
    "modules" : [
      "Bundle Resources"
    ],
    "preciseIdentifier" : "entitlements:Entitlements.com.apple.security.hardened-process.dyld-ro"
  },
  "title" : "com.apple.security.hardened-process.dyld-ro"
}
-->

# com.apple.security.hardened-process.dyld-ro

An entitlement that marks memory used for internal platform state as read-only.

## Overview

When you add this entitlement to your app or extension with the value `true`, the kernel and dynamic loader ensure that all memory regions that the system uses to manage internal state are read-only.

> Warning:
> Your app or extension crashes if it tries to write to the read-only memory regions; for example, if your code writes to memory in `const` data segments.

Xcode adds this entitlement to your app or extension when you add the Enhanced Security capability.
For more information, see <doc://com.apple.documentation/documentation/Xcode/enabling-enhanced-security-for-your-app>.

> Note: This entitlement requires the following entitlements:
> 
> - ``doc://com.apple.bundleresources/documentation/BundleResources/Entitlements/com.apple.security.hardened-process``
> - ``doc://com.apple.bundleresources/documentation/BundleResources/Entitlements/com.apple.security.hardened-process.enhanced-security-version-string``

---

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)