Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode - is adhoc build debug or release?

Tags:

xcode

I have flag in other swift flags for debug so I can have macro in code for DEBUG. Will it trigger in ad-hoc ? How will work ad-hoc build ? As debug or release ?

like image 384
Alexey K Avatar asked Dec 11 '25 17:12

Alexey K


2 Answers

The default is release but you can change this in the scheme editor

enter image description here

like image 115
Ryan Heitner Avatar answered Dec 13 '25 23:12

Ryan Heitner


Watch your scheme details to see which configuration is used for the Archive stage (as I assume you're making the Ad-Hoc build from the archived product).

In the menu bar, navigate to Product > Scheme > Edit Scheme… and switch to the one you're currently building if needed.

like image 41
Michi Avatar answered Dec 14 '25 00:12

Michi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!