简体   繁体   English

应用拒绝问题2.5.1:使用非公开API的应用将被拒绝(自iOS10起)

[英]App rejection issue 2.5.1: Apps that use non-public APIs will be rejected (Since iOS10)

we just got my rejection from Apple about some non-public API "contectId". 我们刚刚从Apple获得了我对某些非公共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. 自从升级到最新的Xcode和Titanium SDK(还具有最新的macOS)以来,我唯一要做的事情就是这个问题。

I know that there's steps here in the message, but is this an Titanium bug or something? 我知道消息中有此步骤,但这是Titanium错误还是其他?

-- -

Hello, 你好,

Thank you for your resubmission. 感谢您的重新提交。

Performance - 2.5.1 性能-2.5.1

Your app still uses or references the following non-public APIs: 您的应用仍然使用或引用以下非公开API:

contextId contextId

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. 在App Store上不允许使用非公共API,因为如果这些API发生更改,可能会导致不良的用户体验。

Next Steps 下一步

Please revise your app to remove any non-public APIs. 请修改您的应用,以删除所有非公开的API。 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. 如果您在源代码中使用与上述API相同的名称定义了方法,我们建议您更改方法名称,以使其不再与Apple的私有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. 如果您无权访问库的源代码,则可以使用“字符串”或“ otool”命令行工具来搜索已编译的二进制文件。 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. “字符串”工具可以输出库调用的方法列表,而“ otool -ov”将输出Objective-C类结构及其定义的方法。 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”工具来验证是否有任何第三方库正在调用这些API。

Resources 资源资源

For information on the "nm" tool, please see the "nm tool" Xcode manual page. 有关“ nm”工具的信息,请参见“ nm工具” Xcode手册页。

If there are no alternatives for providing the functionality your app requires, you may wish to file an enhancement request. 如果没有其他选择可提供您的应用所需的功能,则不妨提出一项增强请求。

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. 如果您难以重现报告的问题,请尝试测试技术问答QA1764:如何重现针对App Store提交的错误报告中所述的工作流程。

If you have code-level questions after utilizing the above resources, you may wish to consult with Apple Developer Technical Support. 如果在使用上述资源后有代码级问题,则不妨与Apple Developer技术支持联系。 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 当DTS工程师跟进您时,请准备提供:-拒收问题的完整详细信息-屏幕截图-重现问题的步骤-带符号的崩溃日志-如果您的问题导致崩溃日志

Best regards, 最好的祝福,

App Store Review App Store评论

尽管这实际上不是钛金属的问题,但不仅仅是苹果公司检测到误报的问题,但钛金5.5.1.GA和更高版本中已解决了该问题,谢谢!

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>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 iOS应用程序被拒绝:非公共API - iOS App Rejected : non-public APIs 混淆:(2.5)使用非公共API的应用程序将被拒绝 - confused about: (2.5) Apps that use non-public APIs will be rejected 的含义-使用非公开API的应用将被拒绝 - meaning of - Apps that use non-public APIs will be rejected iOS应用程序被拒绝:应用程序使用或引用非公共API - iOS App Rejected: app uses or references non-public APIs 苹果因非公开API跳板而拒绝了我的应用 - Apple rejected my app because of non-public APIs springboard 在适用于iOS和非公共API的Phonegap应用程序中使用Jquery Mobile - Using Jquery Mobile in Phonegap Apps for iOS and non-public APIs Unity,Vuforia iOs的应用程序因非公开API而被拒绝 - Unity, Vuforia iOs 'App rejected Due to Non-public API' Apple拒绝了我在非公共API上使用的app:create,但我没有找到名为“create”的API - Apple rejected my app that for use on non-public APIs: create , but I didn't found the API named “create” ios app store rejection - 您的应用使用“prefs:root =”非公共URL方案 - ios app store rejection - Your app uses the “prefs:root=” non-public URL scheme 离子v1科尔多瓦“ prefs:root =”非公共URL方案iOS应用拒绝 - Ionic v1 Cordova “prefs:root=” non-public URL scheme ios app rejection
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM