错误 itms-90122 - 无效的可执行文件大小 [英] error itms-90122 - invalid executable size

查看:30
本文介绍了错误 itms-90122 - 无效的可执行文件大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在将我的应用上传到应用商店时遇到了一些问题.问题是 armv7 的 60MB 文件大小限制!(见截图)

I just have some problems uploading my app to the appstore. The problem is the 60MB filesizelimit for armv7! (See Screenshot)

几乎没有嵌入的图像或类似的东西.应用程序文件只有 0.5MB 大,但我相信它会随着下次更新而增加

There are almost no embedded images or something like that. the application-file is only 0,5MB to big, but I'm sure it will increase soon due to next updates

有没有可能减少应用程序的大小?或者可能更改一些设置以排除 armv7 并仅针对 64 位构建?

Are there any possibilities to reduce the application size? Or maybe to change some settings for excluding the armv7 and only build for 64bit?

我们的应用程序上线几年了,现在我们太大了"?我认为不可能减少"代码.

Our App is online since a couple of years and now we got "too big"? I see no possibility to "reduce" the code.

我使用 AIR 22 和编译器选项-optimize=true -strict=true"进行构建

I build with AIR 22 and compiler options "-optimize=true -strict=true"

推荐答案

有两种方法.

首先是让你的二进制文件小于 60MB.第二种方式是设置项目部署目标编号.

The first is make your binary under 60MB. 2nd way is setting up project deployment target number.

以下是我收到的来自 Apple DTS 的电子邮件

ths following is I received email from Apple DTS

有几种方法可以解决这种情况:

There are a few approaches to solving this situation:

  1. 仔细阅读 Q&A 1795 中的建议,减少我的应用程序的大小.编译器选项部分与您的场景相关.此外,如果您的二进制文件中有数据,例如长字符串、表格或编码图像,您应该将这些资源从二进制文件中移到外部文件中.https://developer.apple.com/library/ios/qa/qa1795/_index.html

60 MB 限制是您的主要可执行文件中的每个架构.确定您的应用中适合作为单个框架或少量框架的部分,以便将它们构建到不同的二进制文件中.

The 60 MB limit is per architecture in your main executable. Identify sections of your app that would make sense as either a single framework, or as a small number of frameworks, so that they are built into a different binary.

如果您的应用程序的最低部署可以提高到 iOS 9,则可执行文件大小的限制会更高,整个可执行文件最多 400 MB.这在下面的链接中有描述.https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/SubmittingTheApp.html

If your app’s minimum deployment can be raised to iOS 9, the limit on executable size is higher, up to 400 MB for the entire executable. This is described at the link below. https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/SubmittingTheApp.html

这篇关于错误 itms-90122 - 无效的可执行文件大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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