Xcode 7 Archive size large

眉间皱痕 提交于 2019-11-27 16:23:53

问题


I've previously been using Xcode 6 to write my Swift app. I've now upgraded to Xcode 7 and upgraded my Swift syntax.

Previously, when I did an archive of my app, I'm sure it was only around 12MB in size when viewed in finder. Now, it is much larger (112MB).

I have now disabled bundles in my build settings as some other posts have suggested, and this has brought the archive down to 74.9MB.

Trouble is that uploading these large file sizes become very heavy on my internet connection and take ages to get processed by Apple iTunes connect.

Is there any way of reducing the size of the archive since I'm using Xcode 7?


回答1:


The problem is that you turned on BitCode:

Bitcode is big. But that's what it takes if you want the advantages that it offers.

So the irony is that with bitcode, your app can be much smaller when downloaded directly to a user's device (because it can be thinned, optimized for that device), but it has to be much bigger when uploaded to the App Store.



来源:https://stackoverflow.com/questions/32723639/xcode-7-archive-size-large

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!