我已经设置了调试方案,并在预处理器宏中设置了DEBUG标志为1,但是当我设置如下内容时:
```
#ifdef DEBUG
NSLog(@"Debug mode");
#endif
```
并没有输出“Debug mode”。
func print(_ object: Any) {
#if DEBUG
Swift.print(object)
#endif
即使在调试模式下也无法打印输出。我该如何纠正这种行为?