How to check iOS app size before upload

2019-03-17 02:39发布

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 cellular downloads, since the app is created for a festival.

8条回答
霸刀☆藐视天下
2楼-- · 2019-03-17 03:20

You have to Build & Archive your application, and then you can check the size of you IPA file.

IPA archive (IPhone App) is the file which is downloaded by users from the App Store

查看更多
Root(大扎)
3楼-- · 2019-03-17 03:20

You can do this through iTunes connect:

  1. Choose your app within iTunes connect
  2. Select "Activity"
  3. Select "All Build" on the left pane
  4. Choose the build and look for "Compressed File Size"
查看更多
Juvenile、少年°
4楼-- · 2019-03-17 03:22

In Xcode 4: Once your app is ready for distribution, archive the app. In the Organizer, select the Archives tab. Select your app in the left hand column. Select the latest archive in the right hand column. Hit the Share... button in the top section. Save the file as an .ipa. Check file size in the Finder.

查看更多
Viruses.
5楼-- · 2019-03-17 03:29

Build the application, get the .app file in your products folder, Reveal in finder and select the app and right click, choose "Get Info" to see the size of the application.

查看更多
\"骚年 ilove
6楼-- · 2019-03-17 03: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.

查看更多
狗以群分
7楼-- · 2019-03-17 03:34

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à :-)

查看更多
登录 后发表回答