客户端瘦身

时间:2014-03-05 18:13:00   收藏:0   阅读:566

转载请注明,来自:http://blog.csdn.net/skyman_2001

我们客户端刚开始编译出来有20MB,通过下面措施成功瘦身为6MB:

For the release build: 
1. "Deployment Post Processing" is enabled (otherwise the whole stripping process isn‘t initiated) 
2.  "Strip Debug Symbols During Copy" is enabled 
3.  "Strip Linked Product" is enabled 
4.  "Strip Style" is set to "Non-Global Symbols" 
5.  check "symbols hidden by default"
6.  __attribute__((visibility("default"))) void NeedExport() {}


客户端瘦身,布布扣,bubuko.com

原文:http://blog.csdn.net/skymanwu/article/details/20489379

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!