Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduce app binary file #115

Open
alexkaessner opened this issue Apr 11, 2017 · 3 comments
Open

reduce app binary file #115

alexkaessner opened this issue Apr 11, 2017 · 3 comments

Comments

@alexkaessner
Copy link
Contributor

The installed app binary size is currently relatively high. Would be nice to reduce it more, to have a even smaller download for all users during the event.

BreakOut 3.0 (5):
screenshot

Compared to this, the old version (v2.2) is rated by the App Store as 42,7 MB size.

@nerdsupremacist
Copy link
Member

nerdsupremacist commented Apr 20, 2017

I took a look at the binary file we have. And our binary is that big because of 145 MB of frameworks. Most of the bloated binaries are the standard Swift Libraries. Hopefully they won't be relevant in the Store release because of whole-module optimization. However I'm not sure. But this explains why the download is about 40 MB instead of the 180 you see in the settings.

BTW. I just saw that Sweeft takes up 8 MB. Holy sh*t!

@nerdsupremacist
Copy link
Member

We should look into compiling all the FWs as static libraries. We could dramatically reduce the binary file by getting rid of expensive dynamic libraries. Apparently this should be now available for Swift in Xcode 9

@nerdsupremacist
Copy link
Member

nerdsupremacist commented Oct 15, 2017

TODO: Check on static library linking whenever Cocoapods 1.4.0 is released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants