New iOS binary library size is a nightmare for most mobile title!

(Andrew) #1

Sorry folks, I’m not a technical guy, it’s just a complaint :slight_smile: I had to admit Fmod studio 1.08 brought lots of cool features, but as unity integration v2.0, the iOS binary library size of 1.07 is much smaller than 1.08. It does not make sense for mobile title, because most mobile title’s audio assets package is smaller than 40Mb! So, is there a possible to reduce the library size in the near future?

(Mathew Block) #2

Please be aware that on iOS (as required by Apple) we must ship static libraries, when linked into your application it doesn’t necessarily mean your application will increase in size by the size of the library.

Also, please be aware that for iOS we ship three slices armv7, armv7s and arm64 all inside the same binary package. If you application only uses 2 (or even 1) of these slices the impact will be much smaller.

Finally, be aware that bitcode was added to our Unity binary in 1.07.06 which will double the binary size if your application is setup to consume bitcode. This is a recommendation by Apple for all store submissions.

Hopefully this gives you some insight into the relatively large size of our iOS package and why it’s probably not as bad as you might think.

(Andrew) #3

Thanks for your clarification, Mathew.