I have a piece of code which can be build successfully in xcode 10.x version, but today the code build failed after I grade the xcode to 11.1 version, so I want to see if there's xcode version macro can be used in build phase, like this:
#if XCODE_SDK_MAJ_VERSION <11
code line 1
code line 2
#else
code line 2
#endif
Any comments?