发布IosAPP时去除NSLog打印第一步:在****-Prefix.pch文件中添加如下代码 #ifdef __OPTIMIZE__ #define NSLog(...) #endif第二步: Edit Scheme> Run xxx(程序名) > Destination 改成你要发布的iOS Device 或 模拟器 >info 选项卡 > build configuration > Release 选项 转自:
本文共 211 字,大约阅读时间需要 1 分钟。
发布IosAPP时去除NSLog打印第一步:在****-Prefix.pch文件中添加如下代码 #ifdef __OPTIMIZE__ #define NSLog(...) #endif第二步: Edit Scheme> Run xxx(程序名) > Destination 改成你要发布的iOS Device 或 模拟器 >info 选项卡 > build configuration > Release 选项 转自:
转载地址:http://onnql.baihongyu.com/