Is there a preprocessor flag for ad-hoc builds?

I usually use the DEBUG preprocessor flag. But I recently found out that Ad-hoc and Store are building both options for using the release configuration. Is there a preprocessor flag that is specific to Ad-Hoc only?

+4
source share
2 answers

In response to this question, the question deepens about how to create custom configurations and flags. This is not perfect, but it works.

Look for an option that will be more permanent and compatible with the cross project, without wasting time at the beginning of each project to install it.

iOS detect ad-hoc from code

+2
source

You can easily configure custom macros for each configuration in the build settings.

0
source

Source: https://habr.com/ru/post/1415222/


All Articles