How to check iOS app size before upload

后端 未结 9 1674
滥情空心
滥情空心 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:29

    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.

    0 讨论(0)
  • 2021-02-05 00:31

    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 :

    • Archive your application
    • Export your application for "iOS App Store Deployment"
    • Extract the generated IPA (fast way, rename it to zip and double click)
    • Go to the .app (Payload/YOUR_APPLICATION)
    • Compress it (zip it with default finder action)

    Et voilà :-)

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题