How to build a package with make debug instead?

Hi all,

I would like to rebuild something with make debug?

Could I just overwrite the buildPhase?

See buildFlags in the manual, maybe it does what you need.

1 Like

thank you very much for the pointer.

After reading further into it looks like overwriting

buildFlagsArray = [
    "debug"  # need to be the last element

actually works, probably buildFlags would have worked similarly well.

(Unfortunately my build fails because of another error so I cannot confirm that everything works finally)