客户端瘦身
时间: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"
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() {}
6. __attribute__((visibility("default"))) void NeedExport() {}
原文:http://blog.csdn.net/skymanwu/article/details/20489379
评论(0)