Re: Preprocessor Deployment Target

James Walker

On 8/30/2017 1:58 AM, Gerriet M. Denkmann wrote:
I need something like:

#if MACOSX_DEPLOYMENT_TARGET < 10.11		← this of course does not work
… some code, which is only needed in this case …

Is this possible?

What you need is


MAC_OS_X_VERSION_MIN_REQUIRED is the deployment version, and MAC_OS_X_VERSION_MAX_ALLOWED is the SDK version.

Join to automatically receive all group messages.