Wednesday, November 16, 2022

Xcode 14 Unintentionally Increases App Size

Max Topolsky and Josh Cohenzadeh (Hacker News):

Shortly after Xcode 14’s release, a number of iOS apps saw significant size increases. We first tweeted about observing a large spike in the Zillow iOS app. Zillow was not an isolated example.


The simple explanation is that bitcode optimizes production builds, partly by stripping binary symbols. Without bitcode turned on, Xcode build settings have to be changed to strip binary symbols.

So when Xcode 14 removed bitcode, a lot of apps lost that implicit build setting.


1 Comment RSS · Twitter

Pretty funny actually. This is what happens when you have a "release engineer" and he doesn't know anything other than to follow a script. Most proper engineers would notice that the build doubled in size, and would figure out why.

Leave a Comment