By default, Xcode compiles my project for a number of architectures: arm64
, armv7
and armv7s
. Now I want to define a preprocessor macro only for the arm64
architecture. How can I do that?
Using the Preprocessor macros
field in Xcode won't work because preprocessor macros in that field will be defined for all architectures. But how can I define custom preprocessor macros for certain architectures only?