简体   繁体   English

使用Fabric安装时,App File Size大2.5倍

[英]App File Size is 2.5x larger when installing with Fabric

I am trying to figure out why my apps file size is so large when I install a beta build with Fabric Beta (created by Twitter). 我试图弄清楚为什么我的应用程序文件大小如此之大,当我安装使用Fabric Beta(由Twitter创建)的beta版本时。

When archiving the build and checking the app size I see that it is about 194MB, however, when I build and install the app for debugging on device, the storage space that is taken up is ~85MB. 归档构建并检查应用程序大小时,我发现它大约是194MB,但是,当我构建并安装应用程序以便在设备上进行调试时,占用的存储空间大约为85MB。

When I install the app via Fabric Beta, the app is ~194MB on device. 当我通过Fabric Beta安装应用程序时,该应用程序在设备上大约为194MB。

Would anyone be able to explain what is going on here. 有人能够解释这里发生了什么。 Is there an issue with Fabric that is not optimizing the build? Fabric没有优化构建的问题吗?

Old question, but worth clarifying I think real quick: 老问题,但值得澄清我认为真的很快:

1 comment said: 1评论说:

Most likely the ipa for uploading has arm6 and arm7 binaries in it. 很可能用于上传的ipa中包含arm6和arm7二进制文件。 As long as you have bitcode turned on then App thinning will only push down the parts that an individual device needs. 只要你打开bitcode,那么App thinning只会降低单个设备所需的部件。

And this is true, and then this follow up comment from original question author 这是真的,然后这是原始问题作者的后续评论

I see. 我懂了。 And is there any way to confirm this for a client? 有没有办法为客户确认这个? Because Fabric has been the only platform we have been using. 因为Fabric是我们一直使用的唯一平台。 Will I see the correct file size with iTunes Test Flight? 我会在iTunes Test Flight中看到正确的文件大小吗?

The answer to that is yes. 答案是肯定的。 Test flight, since basically the closest you can get to the App Store without actually getting reviewed (although TestFlight requires Beta App Review, but this is usually pretty quick. 测试飞行,因为基本上你最接近App Store而没有实际审查(虽然TestFlight需要Beta App Review,但这通常很快。

TestFlight should handle the proper app thinning and send you only the app binary sized for your device. TestFlight应该处理正确的应用程序细化,并仅向您发送适合您设备的应用程序二进制文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用CocoaPod安装Fabric时,“此应用程序依赖于Fabric” - “This app relies on Fabric” when Installing fabric with CocoaPod 应用商店上的应用大小比上传的应用大小大 7 倍 - App size on app store is 7x larger than uploaded app size Unity iOS构建应用程序大小太大(1.7 GB),比Android大30倍吗? - Unity iOS build app size is too big (1.7 GB), 30x larger than Android? 为什么当我减少图片中的像素数时文件大小会变大? - why is it that when I decrease the number of pixels in a picture the size of the file gets larger? 从 Fabric 迁移到 Firebase 时,需要建议减小应用程序大小,仅适用于 Crashlytics - Need suggestion to decrease the app size when migrating from Fabric to Firebase for Crashlytics Only .ipa文件在IOS中具有更大的大小 - .ipa file have larger size in IOS Fabric何时创建应用程序 - When does fabric create app 如何在不安装客户端/客户端应用程序的情况下设置Fabric / Crashlytics - How to setup Fabric/Crashlytics without installing their client app ios:当图像尺寸较大或较小时,图像无法正确显示在uiimage中 - Ios :the image is not appearing properly in uiimage when its size is larger or smaller 以编程方式加载到iPhone X,Xs上时,图像会变得更大吗? - images render larger when loaded programmatically on iPhone X,Xs?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM