I am creating a iOS Static Library in Xcode. I will be distributing two separate binaries, one for running in simulators(x86 architecture) & other for devices(ARM architecture).
I am aware of aggregate target, but I want to know whether it is possible to write a script to check whether the code is running in Debug
or Release
mode, i.e in Simulator
(debug) or Device
(Release) in ideal scenario.
Depending on this, I can put some check in my respective binary to compile or not.