2 Replies
      Latest reply on Oct 20, 2016 10:48 AM by edford
      vukodlak Level 1 Level 1 (0 points)

        Hello!

         

        I have tried for the first time Bitcode with my application, and this is the result:

         

        Previous sizes without Bitcode (~23MB)

        http://i.imgur.com/mTsUFaR.png

         

        New sizes with Bitcode (~50MB)

        http://i.imgur.com/m6TGWbZ.png

         

        As you can see, there is a huge increase of size using bitcode. I am a bit unsure if uploading my update to App Store using it or not. I read that on App Store it gets smaller, but is it really?

         

        What do you suggest?

        • Re: Bitcode increased app size
          Claude31 Level 8 Level 8 (6,515 points)

          I understand that effectively, it is optimized on server side for each taget. You send code for many possible targets (hence the size), but it is tuned on the server before putting in appstore.

           

          Have a look at this, I found interesting explanation.

           

          https : / / www.infoq.com/articles/ios-9-bitcode

          • Re: Bitcode increased app size
            edford Apple Staff Apple Staff (725 points)

            The size of your IPA produced by Xcode is not representative of the size of your app downloaded to a user's device. Depending on what features you select when uploading to the store, the IPA will contain a variety of supporting resources beyond the .app, such as symbol files and dSYMs for symbolicating crash reports delivered to you from the App Store. Additionally, depending on a variety of factors, the IPA you submit may contain machine code in addition to bitcode, but the app delivered to the end user only has the recompiled bitcode.

             

            To fully understand the size of your app after bitcode is recompiled and App Thinning is applied, export your archive for testing outside the store and follow the linked instructions to generate an App Thinning Size Report. However, this report is only an estimate because of additional processing by the App Store. Depending on the state of the build in iTunes Connect, those sizes in your screenshots may not be the final sizes. The final file sizes are only available after an app has been approved by App Review.