ios - 减少 Unity 游戏 iOS 应用程序的大小

标签 ios unity-game-engine size filesize

在我的编辑器日志中,我有以下信息。当我构建到 iOS,然后存档并上传到 testflight 时,我的构建大小为 175MB。 75 MB 是否不包括 .dll?如何找到这些 .dll 的大小以尝试消除较大的 .dll?

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

最佳答案

http://forum.unity3d.com/threads/unity-5-3-x-build-size-increase-faq.383533/

应用程序的大小取决于 iOS 使用的新系统。基本上,您将两个应用合二为一(32-64 位),外加一些额外信息和一些非压缩数据。

上传到 AppStore 后,Apple 会进行适当的修剪,然后您才能看到应用的实际大小。

关于ios - 减少 Unity 游戏 iOS 应用程序的大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37801923/

相关文章:

ios - 可以从与上止点不同的起始角度绘制 iOS 图表中的饼图吗?

android - 加载图像时 Unity 应用程序崩溃

unity-game-engine - 我可以在游戏中混合 2d 和 3d 场景吗

image - 动态缩放 Canvas 大小以适应图像fabric.js

java - 坚持通过不硬编码数组大小来创建 Java 数组

c++ - 如何在 C 代码中复制字节数组?

android - AES 加密在 iOS 和 Android 中产生不同的结果

ios - ShareKit 推特 403(未知错误)

ios - Xcode - 接收器类型 'BFTask' 例如消息是前向声明

performance - Unity3D Input.GetKeyUp() 轮询效率低下?