Xcode 8.3 makes exceptionally large (.ipa) file for Unity IOS Build?

送分小仙女□ 提交于 2019-12-04 18:59:02
JeanLuc

There are 3 reasons for this:

1.) Xcode 8.3.0 has a bug that creates larger builds. In our case it was 15% bigger then usual. This has been fixed by Apple in Xcode 8.3.1 and later and Apple now rejects uploading builds created with Xcode 8.3.0.

2.) The size of App Store Builds is bigger than then what the user will download on it device, since it contains all the bitcode variants for each architecture (armv7, armv7s, 64bit) or target device.

Additionally there is a difference between the downloaded compressed file size and the app installation size. Which you can examine after the upload in iTunes Connect under the app > "Activity" Tab and then "All Builds".

In our case the AppStore IPA was 181MB big. The compressed file size 69MB and the installation size 87MB. This ratio between compressed file size and install size, might vary depending how good the compression works on your assets. I had also an case of compressed file size 618MB and installation size of 1.37 GB.

3.) Android does not unzip its APK on installation but read/streams data directly from it without extracting it fully on the filesystem. (see also my answer here on a similar issue)

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