发布IosAPP时去除NSLog打印
第一步:在****-Prefix.pch文件中添加如下代码
 #ifdef __OPTIMIZE__
 #define NSLog(...) 
 #endif

第二步:
Edit Scheme
> Run xxx(程序名) > Destination 改成你要发布的iOS Device 或 模拟器 >info 选项卡 > build configuration > Release 选项

转自:

http://blog.csdn.net/kingkong1024/article/details/8231291

http://www.cnblogs.com/songuangzhi/archive/2012/08/10/2632209.html

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
  • 2022-01-03
  • 2022-12-23
  • 2022-02-01
  • 2021-10-06
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-18
相关资源
相似解决方案