I would like to be able to check the size of my app before submitting to the app store. More specifically I need to know whether it will be below the magic 20 MB, to allow cellu
In the current version of XCode (4.5 as of writing) you just have to click Product > Archive. The Archives tab of the Organiser will open and the estimated size in the app store is just displayed in one of the information fields when the archive is selected.
With Xcode 8, since the estimate size button disappeared, one way to get a very close estimation (in my case the AppStore version is exactly + 2mb) is :
Et voilà :-)
For now, using Xcode > 10 you could get a real size of your *.ipafiles going through Xcode archivation workflow. When you'll take an archive, open user's folder w/ archived projects. Location is
~/Library/Developer/Xcode/Archives. Here you will find your last archived project, with
.xcarchive` extension. Click on it, and Xcode opens a window with all your projects which have been archived ever before.
Then, select yours and click on the right menu the Distribute App
button. Select Ad hoc
, which needs to export your builded .ipa locally. And when you will build it, store in any folder. Your folder should be named like Stage 2019-06-27 10-14-30
. And inside this folder you'll find a file named like App Thinning Size Report
. This file contains all info about any .ipa file for different devices with differenet iOS versions and it's compressed/uncompressed size.