After switching to Xcode 7, app size grew from 9 MB to 60 MB, is there a fix?

前端 未结 5 1511
后悔当初
后悔当初 2020-11-30 20:17

I\'ve been going backwards in Git history to find the cause of a humongous file size change, but the only real reason I can find is the switch from Xcode 6 to Xcode 7 GM.

5条回答
  •  无人及你
    2020-11-30 21:18

    I've been testing a lot of settings and combinations and it seems the file size of bundles created by Xcode 7 vary a lot depending on both the device and the version of iOS. Also, the TestFlight builds are now huge compared to before, but the good news is that once on the App Store there hasn't been a huge increase (although I am seeing about 1–2 MB added to the bundle size compared to before).

    Here's a few samples to show variance between TestFlight, App Store and devices:

    TestFlight, iPhone 5s on iOS 9.1
    35.6 MB

    TestFlight, iPhone 6 on iOS 8.4.1
    70.1 MB

    App Store
    11.8 MB

    The App Store size was identical on all devices I tested. I haven't tested it on iPhone 6 Plus though, it's very possible that the bundle size would be larger since it uses @3x assets.

提交回复
热议问题