I commonly use the DEBUG preprocessor flag. But I’ve recently figured out that Ad-hoc and Store builds both use the release configuration. Is there a preprocessor flag that’s only defined for Ad-Hoc builds?
I commonly use the DEBUG preprocessor flag. But I’ve recently figured out that Ad-hoc
Share
The answer to this question goes into depth about how to create custom configurations and flags. Its not perfect but it works.
Still looking for an option that is more permanent and cross project compatible without having to spend time at the beginning of each project to set this up.
iOS, detect ad-hoc from code