cocos creator生成的项目使用xcode运行 下面的代码不起作用

cocos creator生成的项目使用xcode运行 下面的代码不起作用
#ifdef DEBUG

define NSLog(fmt, …) NSLog((@"\n[文件名:%s]\n" “[函数名:%s]\n” "[行号:%d] " fmt), FILE, FUNCTION, LINE, ##VA_ARGS);

#else

define NSLog(…);

#endif
cocos creator版本1.6.2 xcode9.2 (9C40b)