In my Obj-C wrapper object, I am wanting to surround some code with #define checking to be able to target specific targets - arm64 or Simulator.
It would appear that we can "create" custom defines in the project settings : Apple Clang - Preprocessing -> Preprocessor Macros
I have tried defining 'ARM64' under the section 'Debug' for 'Any IOS Sdk', presuming that this will be for a real iPad and thus an arm64 environment - as opposed to the simulator, an x86 environment.
I then put
#ifdef ARM64
...
#else
...
#endif
around my code, but the compiler is still complaining about 64bit calls.
Can this actually be done, as we are able to do from within swift ? Am I going about this the right way ?