-
edit in project_name-Prefix.pch
add codes below into file
#ifdef __OBJC__ #import <UIKit/UIKit.h> #import <Foundation/Foundation.h> #endif #ifndef __OPTIMIZE__ #define NSLog(...) NSLog(__VA_ARGS__) #else #define NSLog(...) {} #endif
-
change scheme to "Release"
[ios] release version 不输出 logs
最新推荐文章于 2024-08-30 09:17:24 发布