Use of undeclared identifier 'malloc_type_zone_malloc_with_options_backdeploy'

I'm attempting to compile my app (on macOS 26), opting into the "Enhanced Security" (Xcode Version 26.0.1 (17A400)).

Following Apple's documentation I enabled the capability via Xcode and clicked "Enable Build Settings" though now compilation fails:

Use of undeclared identifier 'malloc_type_zone_malloc_with_options_backdeploy'; did you mean 'malloc_type_zone_malloc_with_options'?

The (AI-based?) "Generate Fix for Issue" throws an error too 😅

See attached screenshots

Same issue Claude AI seems convinced this is an XCode issue. None of the workarounds work besides disabling all the enhanced security checkboxes.

Use of undeclared identifier 'malloc_type_zone_malloc_with_options_backdeploy'
 
 
Q