{"id":37637,"date":"2022-11-16T20:56:34","date_gmt":"2022-11-17T01:56:34","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=37637"},"modified":"2022-11-16T20:58:38","modified_gmt":"2022-11-17T01:58:38","slug":"xcode-14-unintentionally-increases-app-size","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2022\/11\/16\/xcode-14-unintentionally-increases-app-size\/","title":{"rendered":"Xcode 14 Unintentionally Increases App Size"},"content":{"rendered":"<p><a href=\"https:\/\/www.emergetools.com\/blog\/posts\/how-xcode14-unintentionally-increases-app-size\">Max Topolsky and Josh Cohenzadeh<\/a> (<a href=\"https:\/\/news.ycombinator.com\/item?id=33550758\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/www.emergetools.com\/blog\/posts\/how-xcode14-unintentionally-increases-app-size\">\n<p>Shortly after Xcode 14&rsquo;s release, a number of iOS apps saw significant size increases. We <a href=\"https:\/\/twitter.com\/emergetools\/status\/1575597900825915393\" target=\"_blank\" rel=\"noreferrer noopener\">first tweeted<\/a> about observing a large spike in the Zillow iOS app. Zillow was not an isolated example.<\/p>\n<p>[&#8230;]<\/p>\n<p>The simple explanation is that bitcode optimizes production builds, partly by <strong>stripping binary symbols<\/strong>. Without bitcode turned on, Xcode build settings have to be changed to strip binary symbols.<\/p>\n<\/blockquote>\n<p>So when Xcode 14 removed bitcode, a lot of apps lost that implicit build setting.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/09\/12\/xcode-14\/\">Xcode 14<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/06\/09\/xcode-14-announced\/\">Xcode 14 Announced<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Max Topolsky and Josh Cohenzadeh (Hacker News): Shortly after Xcode 14&rsquo;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. [&#8230;] The simple explanation is that bitcode optimizes production builds, partly by stripping binary symbols. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2022-11-17T01:56:36Z","apple_news_api_id":"c317ed71-5546-4a9d-b2b2-b480b22533a4","apple_news_api_modified_at":"2022-11-17T01:58:40Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/AwxftcVVGSp2ysrSAsiUzpA","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[1246,31,2185,138,71,226],"class_list":["post-37637","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-bitcode","tag-ios","tag-ios-16","tag-optimization","tag-programming","tag-xcode"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/37637","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=37637"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/37637\/revisions"}],"predecessor-version":[{"id":37639,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/37637\/revisions\/37639"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=37637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=37637"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=37637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}