Slide 1

Slide 1 text

2019 DevDay Cutting Binary Size on a Growing App > Bruce Evans > LINE iOS Client Team Software Engineer

Slide 2

Slide 2 text

> Cellular Limits > Speed > Convenience Why?

Slide 3

Slide 3 text

Size Over Time 0 33 67 100 133 167 200 7.0.0 7.3.0 7.7.0 7.11.0 7.14.0 7.17.0 8.1.0 8.4.0 8.7.0 8.11.0 8.14.5 8.18.0 9.2.0 9.7.0 9.13.0 150MB Limit 2017-2019 100MB Limit 2013-2017 200MB Limit 2019~

Slide 4

Slide 4 text

Tools ImageOptim Bloaty Grand Perspective

Slide 5

Slide 5 text

Grand Perspective

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

Work Swift Downloadable Resources Switch to First Party DIY Pruning Features Image Compression

Slide 8

Slide 8 text

Image Compression Compress free images Compress `.xcasset` images Use `.xcassets`

Slide 9

Slide 9 text

Downloadable Resources Download from LINE Servers Download from Third Party Appleā€™s On Demand Resources

Slide 10

Slide 10 text

Pruning Features Outdated Features 3rd Party SDKs Extensions

Slide 11

Slide 11 text

DIY Small Categories & Animations Credit Card Detection

Slide 12

Slide 12 text

First Party Support Maps Localization

Slide 13

Slide 13 text

Swift -Osize Reflection Metadata

Slide 14

Slide 14 text

Thank You