iOS 应用程序的最大大小 [英] Max size of an iOS application

查看:61
本文介绍了iOS 应用程序的最大大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

iOS 应用程序的最大大小是多少?有什么限制吗?

解决方案

4GB 是您的 iOS 应用程序可以达到的最大大小.

截至 2017 年 1 月 26 日

<块引用>

仅适用于 iOS(和 tvOS)的应用大小

您的应用的总未压缩大小必须小于 4GB.每个 Mach-O 可执行文件(例如,app_name.app/app_name)不得超过以下限制:

  • 对于 MinimumOSVersion 小于 7.0 的应用:二进制文件中所有 __TEXT 部分的总和最大为 80 MB.
  • 对于 MinimumOSVersion 为 7.x 到 8.x 的应用:二进制文件中每个架构切片的 __TEXT 部分的每个切片最多 60 MB.
  • 对于 MinimumOSVersion 为 9.0 或更高版本的应用:二进制文件中所有 __TEXT 部分的总和最大为 500 MB.

但是,在确定应用的大小时,请考虑下载时间.尽可能减小文件的大小,请记住,无线下载有 100 MB 的限制.

可在 iTunes Connect 中找到此信息开发者指南:将应用提交给应用审核.


截至 2015 年 2 月 12 日

<块引用>

(仅限 iOS)应用大小

iOS App 二进制文件可以大到 4 GB,但每个可执行文件 (app_name.app/app_name) 必须不超过 60 MB.此外,应用程序的总未压缩大小必须小于 40 亿字节.但是,在确定应用程序的大小时,请考虑下载时间.最小化文件大小尽可能多地记住,无线下载有 100 MB 的限制.

可以在 iTunes Connect 开发者指南.


截至 2013 年 12 月 12 日

<块引用>

(仅限 iOS)应用大小

iOS App 二进制文件最大可达 2 GB,但可执行文件 (app_name.app/app_name) 不能超过 60MB.但是,在确定应用程序的大小时,请考虑下载时间.尽可能减小文件的大小,请记住,无线下载有 100 MB 的限制.

可以在 iTunes Connect 开发者指南.


截至 2013 年 6 月 6 日

除了可执行文件大小现在限制为60MB之外,以上信息仍然相同.可以在指南的第 237 页上找到这些更改.


截至 2013 年 1 月 10 日

除了可执行文件大小现在限制为60MB之外,以上信息仍然相同.可以在指南的第 208 页上找到这些更改.


截至 2012 年 10 月 31 日

除了无线下载现在是50MB之外,以上信息仍然相同.这些更改可以在指南的 第 206 页 上找到.感谢来自 Ozair Kafray 的评论.


截至 2012 年 7 月 19 日

除了无线下载现在是50MB之外,以上信息仍然相同.这些更改可以在指南的 第 214 页 上找到.感谢来自 marsbear 的评论.另外,文档移到这里了:

http://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/iTunesConnect_Guide.pdf


截至 2012 年 7 月 13 日

除了无线下载现在是50MB之外,以上信息仍然相同.可以在指南的第 209 页上找到这些更改.


截至 2012 年 3 月 29 日(版本 7.4)

除了无线下载现在是50MB之外,以上信息仍然相同.可以在指南的第 209 页上找到这些更改.


截至 2012 年 1 月 23 日(版本 7.3)

以上信息仍然相同,但是可以在指南的第172页中找到.


截至 2011 年 10 月 17 日(版本 7.2)

以上信息仍然相同,但可以在指南的第180页中找到.感谢 Luke 对更新的评论.


截至 2011 年 9 月 22 日(版本 7.1)

以上信息仍然相同,但可以在指南的第 179 页 上找到.感谢 Saxon Druce 对更新的评论.

What is the maximum size of an iOS application? any constraints?

解决方案

4GB's is the maximum size your iOS app can be.

As of January 26, 2017

App Size for iOS (& tvOS) only

Your app’s total uncompressed size must be less than 4GB. Each Mach-O executable file (for example, app_name.app/app_name) must not exceed these limits:

  • For apps whose MinimumOSVersion is less than 7.0: maximum of 80 MB for the total of all __TEXT sections in the binary.
  • For apps whose MinimumOSVersion is 7.x through 8.x: maximum of 60 MB per slice for the __TEXT section of each architecture slice in the binary.
  • For apps whose MinimumOSVersion is 9.0 or greater: maximum of 500 MB for the total of all __TEXT sections in the binary.

However, consider download times when determining your app’s size. Minimize the file’s size as much as possible, keeping in mind that there is a 100 MB limit for over-the-air downloads.

This information can be found at iTunes Connect Developer Guide: Submitting the App to App Review.


As of February 12, 2015

(iOS only) App Size

iOS App binary files can be as large as 4 GB, but each executable file (app_name.app/app_name) must not exceed 60 MB. Additionally, the total uncompressed size of the app must be less than 4 billion bytes. However, consider download times when determining your app’s size. Minimize the file’s size as much as possible, keeping in mind that there is a 100 MB limit for over-the-air downloads.

This information can be found on page 77 of the iTunes Connect Developer Guide.


As of December 12, 2013

(iOS only) App Size

iOS App binary files can be as large as 2 GB, but the executable file (app_name.app/app_name) cannot exceed 60MB. However, consider download times when determining your app’s size. Minimize the file’s size as much as possible, keeping in mind that there is a 100 MB limit for over-the-air downloads.

This information can be found on page 58 of the iTunes Connect Developer Guide.


As of June 6, 2013

The above information is still the same with the exception of the Executable File size which is now limited to 60MB's. These changes can be found on page 237 of the guide.


As of January 10, 2013

The above information is still the same with the exception of the Executable File size which is now limited to 60MB's. These changes can be found on page 208 of the guide.


As of October 31, 2012

The above information is still the same with the exception of Over The Air downloads which is now 50MB's. These changes can be found on page 206 of the guide. Thanks to comment from Ozair Kafray.


As of July 19, 2012

The above information is still the same with the exception of Over The Air downloads which is now 50MB's. These changes can be found on page 214 of the guide. Thanks to comment from marsbear. In addition, the document has moved here:

http://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/iTunesConnect_Guide.pdf


As of July 13, 2012

The above information is still the same with the exception of Over The Air downloads which is now 50MB's. These changes can be found on page 209 of the guide.


As of March 29, 2012 (version 7.4)

The above information is still the same with the exception of Over The Air downloads which is now 50MB's. These changes can be found on page 209 of the guide.


As of January 23, 2012 (version 7.3)

The above information is still the same, however, it can be found on page 172 of the guide.


As of October 17, 2011 (version 7.2)

The above information is still the same, however, it can be found on page 180 of the guide. Thanks to comment from Luke for the update.


As of September 22, 2011 (version 7.1)

The above information is still the same, however, it can be found on page 179 of the guide. Thanks to comment from Saxon Druce for the update.

这篇关于iOS 应用程序的最大大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆