Remove println() for release version iOS Swift

前端 未结 19 1519
被撕碎了的回忆
被撕碎了的回忆 2020-11-29 15:55

I would like to globally ignore all println() calls in my Swift code if I am not in a Debug build. I can\'t find any robust step by step instructions for this a

19条回答
  •  醉话见心
    2020-11-29 16:36

    You can also use a breakpoint, set it to continue after evaluation, and write the print message in the breakpoint!

提交回复
热议问题