I was writing my own standalone module and wanted to use cblas_dasum for efficient calculation of the sum of absolute values of a double array. Though a message pops up saying that I have to
specify ACCELERATE_NEW_LAPACK=1 and ACCELERATE_LAPACK_ILP64=1 as preprocessor macros in Xcode build settings.
Unfortunately the function was deprecated from iOS 16.4+ (which I still need to support) and I don't see any Xcode build settings at all where to set this flag.
How do I solve?
What I see:

If deprecated, deprecation can stay supported by the OS for years. But anyway:
Macros
To set macros in Xcode build settings go to -> TARGETS -> Build Settings -> Type: Processors Macros -> Type the macro name you wish. And then set it.
Silent Deprecation Messages
If you want to silent deprecation messages for a specific method in code, use this technique:
Try it as you need.