0
在我的編輯日誌中,我有下面的信息。當我構建到iOS,然後存檔並上傳到testflight時,我的構建版本爲175MB。 75 MB是否不包括.dlls?我如何找到這些.dll的大小以嘗試消除較大的?減少Unity遊戲iOS應用尺寸
Textures 53.0 mb 70.4%
Meshes 5.7 mb 7.6%
Animations 249.3 kb 0.3%
Sounds 10.1 mb 13.5%
Shaders 60.9 kb 0.1%
Other Assets 486.9 kb 0.6%
Levels 750.7 kb 1.0%
Scripts 613.1 kb 0.8%
Included DLLs 4.1 mb 5.4%
File headers 248.2 kb 0.3%
Complete size 75.2 mb 100.0%
Mono dependencies included in the build
Dependency assembly - Boo.Lang.dll
Dependency assembly - Mono.Security.dll
Dependency assembly - System.Core.dll
Dependency assembly - System.dll
Dependency assembly - mscorlib.dll
Dependency assembly - UnityEngine.Advertisements.dll
Dependency assembly - UnityEngine.UI.dll
Dependency assembly - UnityEngine.Networking.dll
Dependency assembly - UnityEngine.Analytics.dll
Dependency assembly - GETween.dll
Dependency assembly - Assembly-CSharp-firstpass.dll
Dependency assembly - Assembly-CSharp.dll
Dependency assembly - Assembly-UnityScript.dll
它可能是測試飛行不做任何形式的應用程序稀釋,如應用程序商店,所以應用程序將包括一個32位和64位二進制文件,人爲地誇大你的應用程序的大小 – Fonix
不知道這是否會工作,但也許去你的構建設置和有效的體系結構下,除了arm64之外的所有東西,看看應用程序大小是否有所不同,如果它確實表明你的應用程序真的有多大 – Fonix
只用arm64構建電話就可以在手機上生成114mb應用程序。立即歸檔並上傳到testflight –