Application file size is 2.5 times when installing using Fabric

I am trying to understand why the size of my applications is so large when I install the beta using Fabric Beta (created by Twitter).

When archiving the assembly and checking the size of the application, I see that it is about 194 MB, however, when I create and install the debugging application on the device, the occupied memory takes about 85 MB.

When I install the application through the beta version of Fabric, the application is ~ 194 MB on the device.

Someone can explain what is happening here. Is there a problem with Fabric that does not optimize the assembly?

+5
source share
1 answer

Old question, but worth clarifying, I think very quickly:

1 comment said:

Most likely, ipa for downloading has arm6 and arm7 binaries. As long as you enable the bitcode, then thinning out the applications will result in pressing only those parts that are necessary for a separate device.

And it’s true, and then this is a follow-up comment from the original author of the question

I see. And is there a way to confirm this for the client? Because Fabric was the only platform we used. Will I see the correct file size using iTunes test flight?

The answer is yes. Try the flight, since basically the closest you can get to the App Store without actually getting a review (although TestFlight requires a review of Beta apps, but it's usually pretty fast.

TestFlight should handle the correct thinning of applications and send you only the binary size of the application for your device.

0
source

Source: https://habr.com/ru/post/1258042/


All Articles