I am not very well versed in this area, so I would appreciate some guidance on what should be enabled or disabled. My app is an AppKit app. I have read the documentation and watched the video, but I find it hard to understand.
When I added the Enhanced Security capability in Xcode, the following options were enabled automatically:
Memory Safety
- Enable Enhanced Security Typed Allocator
Runtime Protections
- Enable Additional Runtime Platform Restrictions
- Authenticate Pointers
- Enable Read-only Platform Memory
The following options were disabled by default:
Memory Safety
- Enable Hardware Memory Tagging
- Memory Tag Pure Data
- Prevent Receiving Tagged Memory
- Enable Soft Mode for Memory Tagging
Should I enable these options? Is there anything I should consider disabling?
A good place to start here is Enabling enhanced security for your app.
The only one of these settings that actively reduces security is Enable Soft Mode for Memory Tagging. However, that currently has no effect because our shipping systems run all third-party apps is soft mode regardless of that setting. See this thread for more about that.
Be aware that certain settings can cause problems with deploying to systems prior to xyzOS 26.0. We’ve fixed this in Xcode 26.4 beta. See the Xcode 26.4 Beta Release Notes for more (search for 168185600).
But, generally, my general advice is that you enable all the extra stuff and then only disable something if it causes problems that you can’t otherwise resolve.
Finally, there are a couple of upcoming Meet with Apple sessions focused on security, and those are a great opportunity to learn more about this. See here.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"