Contents

com.apple.security.hardened-process.hardened-heap

A Boolean value that indicates whether the process opts in to type-aware memory allocations.

Discussion

When you add this entitlement to your app or extension, the system uses the type-aware memory allocator for memory your app or extension requests. In addition to this entitlement, set the build settings CLANG_ENABLE_C_TYPED_ALLOCATOR_SUPPORT and CLANG_ENABLE_CPLUSPLUS_TYPED_ALLOCATOR_SUPPORT to YES, so the compiler rewrites memory allocations in your code to use the type-aware allocator.

Xcode adds this entitlement to your app or extension when you add the Enhanced Security capability. For more information, see Enabling enhanced security for your app.

See Also

Hardened process