1.打包上傳時(shí),在 .pch 文件將以下代碼復(fù)制 到里邊 。
#ifdef DEBUG_MODE
#define DLog( s, ... ) NSLog( @"<%p %@:(%d)> %@", self, [[NSString stringWithUTF8String:__FILE__] lastPathComponent], __LINE__, [NSString stringWithFormat:(s), ##__VA_ARGS__] )
#else
#define DLog( s, ... )
#endif
#ifndef PCH_pch
#define PCH_pch