We’ve just managed to compile our project in Xcode including a library that we’d added. I didn’t notice at first that the size of this static library was 23.1MB, while the Android version of the same library was only 172KB.
This has increased the size of our app by 50%, and I’m looking to see if there is something I can do to reduce the size of the final project.
We also use Gremlin’s Chartboost plugin, and having looked at the static libs for that, I’ve noticed they are 28MB (the actual CB lib rather than Gremlin’s plugin lib). However adding Chartboost to a simulator project only added 0.9MB, so I’m assuming that Corona SDK does something with plugin libs to reduce the size they have on the final build?
Is there a simple setting in Xcode that will strip the libs down? I’ve tried turning on Dead Code Stripping, than knocked off about 2MB, and “Strip Debug Symbols During Copy” is already set to Yes for release builds.
Could it be something to do with architectures? I have armv7, armv7s and arm64 set at the moment. Tried with only armv7 architecture, and the size was the same.