ios 应用程序加载器警告 - 生成的 API 分析文件太大

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/30098320/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 05:56:05  来源:igfitidea点击:

Application Loader Warning - Resulting API Analysis File is too large

iosiphonexcodeapp-store-connectapplication-loader

提问by goelv

I am getting a strange error when I submit my application via application loader tool.

当我通过应用程序加载器工具提交我的应用程序时出现一个奇怪的错误。

The resulting API analysis file is too large. We were unable to validate your API usage prior to delivery. This is just an informational message.

生成的 API 分析文件太大。我们无法在交付前验证您的 API 使用情况。这只是一条信息性消息。

The application gets submitted to iTunes Connect and I am able to test it via TestFlight.

该应用程序已提交到 iTunes Connect,我可以通过 TestFlight 对其进行测试。

What is the reason behind this error? Also, is there a risk of my app getting rejected because of this ?

这个错误背后的原因是什么?另外,我的应用程序是否有因此被拒绝的风险?

Copy of the error message is below.

错误消息的副本如下。

enter image description here

在此处输入图片说明

回答by lammert

As it mentions already, it's just an informational message. You don't need to worry about rejection because of this.

正如它已经提到的,这只是一条信息性消息。您无需担心因此而被拒绝。

What it means is that it cannot do API analysis before upload. It does this analysis to check if you use any restricted API's from the SDK. So it could warn you and allow you to fix it before uploading. Since it's too large, you will get the warnings (if any) about API usage by email within half an hour or so after submission since the analysis will be done on the Apple servers.

这意味着它不能在上传之前进行API分析。它执行此分析以检查您是否使用 SDK 中的任何受限 API。所以它可以警告你并允许你在上传之前修复它。由于它太大,您将在提交后半小时左右通过电子邮件收到有关 API 使用的警告(如果有),因为分析将在 Apple 服务器上完成。

回答by Suraj Sonawane

It's nothing to worry about - Basically, when you archive your app it produces an "API Analysis File" which is a breakdown of every call your app makes to any of Apple's frameworks. This allows them to see which services you're using, and if you're using any private APIs that are considered off-limits. If your app is big enough (which doesn't take much), this file gets "too large" to send to Apple. So instead, they just run same analysis on their servers after the upload finishes.

没什么可担心的 - 基本上,当您归档您的应用程序时,它会生成一个“API 分析文件”,它是您的应用程序对任何 Apple 框架的每次调用的细分。这允许他们查看您正在使用哪些服务,以及您是否正在使用任何被视为禁止使用的私有 API。如果您的应用程序足够大(不需要太多),则此文件“太大”而无法发送给 Apple。因此,他们只是在上传完成后在他们的服务器上运行相同的分析。

回答by Gobi M

Nothing to worry about this warning,

不用担心这个警告,

I have received this warning and submitted the ipa last week (as for may-2016).

我已收到此警告并于上周提交了 ipa(至 2016 年 5 月)。

It is approved and in Live now.

它已获批准并已上线。

回答by mrbengi

Don't worry, although this warning, your application will be sent.

别担心,虽然有这个警告,你的申请还是会被发送的。

You should check your emails and see this email with this subject:
"iTunes Connect: Version - has completed processing."
Then you will see this in iTunesConnect, at the Prepare for Submission page :

您应该检查您的电子邮件并看到此主题的电子邮件:
iTunes Connect: Version - has completed processing.
然后您将在 iTunesConnect 中的“准备提交”页面上看到:

Before the email:enter image description here

Before the email:在此处输入图片说明

After the email:enter image description here

After the email:在此处输入图片说明