How to check iOS app size before upload

后端 未结 9 1676
滥情空心
滥情空心 2021-02-05 00:05

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

9条回答
  •  后悔当初
    2021-02-05 00:33

    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.

提交回复
热议问题