Support

Why is my XCode IPA archive so large after adding LayerKit?

The total size of LayerKit in a production app is around 6MB. If you export an IPA you may think that Layer is adding much more size to your application. However, this is because the IPA includes:

All of these are effectively stripped when creating an App Store build or testing IPA. Bitcode is an LLVM intermediate language representation that allows the App Store to dynamically recompile the app sources for new processor architectures (such as when Apple releases a new device). 

Also note: Xcode 7 made significant changes in packaging, so if users attempt to use the Dynamic Framework distribution (LayerKit v0.17.0+) under Xcode 6 you will see increased binary sizes. Upgrading to Xcode 7 or using the static framework alleviates these issues.

Have more questions? Submit a request