1. 点击“Build Setting”2. 搜索Swift Compiler - Custom Flags3. 打开 Active Compilation Condition4. 添加 Debug 标记为 “DEBUG”