[英]iOS app size: over-the-air vs. wi-fi
TL;DR: Is the size message I got in App Store Connect just a warning, or do I need special permission (some checkbox?) to go past the size limit. TL; DR:我在App Store Connect中收到的尺寸消息只是警告,还是我需要特殊权限(某些复选框?)才能超过尺寸限制。
I understand that the over-the-air size is limited to 150 MB (latest limit) and the wi-fi size is limited to 2 GB. 我了解无线传输大小限制为150 MB(最新限制),而Wi-Fi大小限制为2 GB。 This is well-explained here on SO and other places. 在SO和其他地方对此进行了很好的解释。
Now... the last time I submitted an app that was over the limit I got this warning (or is it fatal error?): 现在...上次提交的应用程序超出限制时,我收到此警告(或者是致命错误?):
(Yeah it says 100 MB: it's an old screen shot.) So the question is: when my next submission goes over 150 MB (as it surely will) and I get this message again, what to do? (是的,它说的是100 MB:这是一个旧的屏幕截图。)所以问题是:当我的下一次提交超过150 MB(这肯定会)并且我又收到此消息时,该怎么办?
As you said, 100MB is the limit for cellular download. 就像您说的那样,蜂窝下载限制为100MB。 You can submit your app and it won't affect your approval, but users will not be able to download your app unless they are on Wifi. 您可以提交您的应用程序,它不会影响您的批准,但是除非用户使用Wifi,否则用户将无法下载您的应用程序。
However, a common solution to this problem is to perform a one-time download of large files the first time your app is launched. 但是,解决此问题的常见方法是在首次启动应用程序时一次性下载大文件。 That way, you can still have all of those files, but your initial app store download will be within the download limit. 这样,您仍然可以拥有所有这些文件,但是您最初的应用商店下载将在下载限制之内。
You can also use app thinning to reduce your file size or move some of your larger resources to on demand storage. 您还可以使用应用程序精简来减小文件大小,或将一些较大的资源移至按需存储。 Apple has given you links to both of those methods in that warning message you posted. Apple在您发布的警告消息中为您提供了这两种方法的链接。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.