Apple TV - How can I know my app bundle size?

I'm trying to submit an app to iTunesConnect for Apple TV.


When I try to upload, the build goes into processing, then I get an email like this:


Thinned app size is too large - The app bundle at '/Payload/appname.app' exceeds the maximum allowable size. A tvOS app bundle must be less than 200MB after app thinning.


Wow, pretty helpful. Am I at 205MB, or 2GB?


I have split some of my resources up into On Demand Resources. Xcode shows me sizes for each of the ODR sets, but how do I know how big my main bundle is?

What is the archive size in the Finder?


If you unpack it:

- what is the binary size inside?

- what is the remaining re-zipped package size without the binary?


Maybe I'm missing it, but I don't see a shipped quotient via Xcode.

I made a minor change in my project and tried again. This time it made it through. I must be right on the edge!


I still want to understand how to determine sizes.


For the following stats I archive the app, then in Organizer select Export > Save for Apple TV App Store Deployment, Deselect include app symbols, Select include bitcode. Then rename the app.ipa to app.zip, and unarchive. This results in a Payload folder containing an application file and an OnDemandResources folder. For the last number I remove the application file and rezip.


Rejected Build

IPA size: 295.2 MB

Payload Folder Size: 730.9 MB

Application File Size: 583.7 MB

OnDemandResources Folder Size: 147.3 MB

Re-zipped Without Application File: 30.6 MB

Successful Build

IPA size: 291.6 MB

Payload Folder Size: 693.1 MB

Application File Size: 545.8 MB

OnDemandResources Folder Size: 147.3 MB

Re-zipped Without Application File: 30.6 MB

Good info, thanks. Yep, right on the edge.


Shame they warn a 200mb store-facing limit without tools to know/estimate, short of test-bumping a submit....sigh.

Thanks for this information - Unfortunatly I too am not satisfying the size requirements with the following details:


Rejected Build

IPA size: 141.8 MB

Payload Folder Size: 352.3 MB

Application File Size: 352.3 MB

OnDemandResources Folder Size: 0 MB

Re-zipped Without Application File: 0 MB

I can't believe Apple doesn't provide this info- it's mind boggling to me that we're supposed to guess and trim away and try over and over again until it passes- it's not like any of this is instantaneous- processing takes quite a while.


Apple there must be a way we can know what size our thinned app is compared to the 200MB limit for tvOS apps? Can't you provide this with your error message? Please?!

Apple TV - How can I know my app bundle size?
 
 
Q