应用拒绝问题2.5.1:使用非公开API的应用将被拒绝(自iOS10开始) [英] App rejection issue 2.5.1: Apps that use non-public APIs will be rejected (Since iOS10)

查看:234
本文介绍了应用拒绝问题2.5.1:使用非公开API的应用将被拒绝(自iOS10开始)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们刚刚从Apple获得了关于某些非公共API"contectId"的拒绝.自升级到最新的Xcode和Titanium SDK(还具有最新的macOS)以来,我唯一要做的事情就是这个问题.

we just got my rejection from Apple about some non-public API "contectId". The only thing I have done since I upgraded to the latest Xcode and Titanium SDK (Also with the newest macOS), this became a problem.

我知道消息中有此步骤,但这是Titanium错误还是什么?

I know that there's steps here in the message, but is this an Titanium bug or something?

-

你好

感谢您的重新提交.

性能-2.5.1

您的应用仍在使用或引用以下非公开API:

Your app still uses or references the following non-public APIs:

contextId

contextId

不允许在App Store中使用非公共API,因为如果这些API发生更改,可能会导致不良的用户体验.

The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.

后续步骤

请修改您的应用,以删除所有非公开的API.如果您在源代码中使用与上述API相同的名称定义了方法,我们建议您更改方法名称,以使其不再与Apple的私有API冲突,以免将来的提交中对您的应用程序进行标记.

Please revise your app to remove any non-public APIs. If you have defined methods in your source code with the same names as the above-mentioned APIs, we suggest altering your method names so that they no longer collide with Apple's private APIs to avoid your application being flagged in future submissions.

此外,如果您使用的是第三方库,请更新到这些库的最新版本.如果您无权访问库的源代码,则可以使用字符串"或"otool"命令行工具来搜索已编译的二进制文件. 字符串"工具可以输出库调用的方法列表,而"otool -ov"将输出Objective-C类结构及其定义的方法.这些工具可以帮助您缩小有问题的代码所在的位置.您还可以使用"nm"工具来验证是否有任何第三方库正在调用这些API.

Additionally, if you are using third party libraries, please update to the most recent version of those libraries. If you do not have access to the libraries' source, you may be able to search the compiled binary using the "strings" or "otool" command line tools. The "strings" tool can output a list of the methods that the library calls and "otool -ov" will output the Objective-C class structures and their defined methods. These tools can help you narrow down where the problematic code resides. You could also use the "nm" tool to verify if any third-party libraries are calling these APIs.

资源

有关"nm"工具的信息,请参见"nm工具" Xcode手册页.

For information on the "nm" tool, please see the "nm tool" Xcode manual page.

如果没有其他选择可提供您的应用所需的功能,则不妨提出一项增强请求.

If there are no alternatives for providing the functionality your app requires, you may wish to file an enhancement request.

如果您难以重现已报告的问题,请尝试测试技术问答QA1764:如何重现针对App Store提交的错误报告中所述的工作流程.

If you have difficulty reproducing a reported issue, please try testing the workflow described in Technical Q&A QA1764: How to reproduce bugs reported against App Store submissions.

如果在使用上述资源后有代码级问题,则不妨咨询Apple Developer技术支持.当DTS工程师跟进您时,请准备提供: -您的拒绝问题的完整详细信息 -屏幕截图 -重现问题的步骤 -象征性的崩溃日志-如果您的问题导致崩溃日志

If you have code-level questions after utilizing the above resources, you may wish to consult with Apple Developer Technical Support. When the DTS engineer follows up with you, please be ready to provide: - complete details of your rejection issue(s) - screenshots - steps to reproduce the issue(s) - symbolicated crash logs - if your issue results in a crash log

最诚挚的问候,

App Store评论

App Store Review

推荐答案

由于这个原因,我还拒绝了两次应用程序更新.

I've also had two App updates rejected due to this reason.

在同一时期,我已经批准了其他人.

Over the same period I've had others approved.

两个被拒绝的应用程序更新之间的一个共同之处是在我的项目中使用以下属性集:

One common item between the two App updates that were rejected is the use of the following property set in my project:

<property name="run-on-main-thread" type="bool">true</property>

这篇关于应用拒绝问题2.5.1:使用非公开API的应用将被拒绝(自iOS10开始)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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