Defining macros in config.xml or in .js files that can be used in XCode

Hi,

We have a plugin that compiles based on #define MACRO. Can we define a MACRO in config.xml or in a .js file so that XCode can pickup when compiling?

We need this because the XCode configurations (Preprocessor Macros) seem to get reset after we do ionic state reset && ionic prepare, which we need to do quite often.

Thanks,
Ashley

2 Likes