悠悠然
悠悠然
  • 发布:2019-01-23 17:37
  • 更新:2019-01-25 14:17
  • 阅读:529

iOS离线打包审核被拒,报使用了非公开api,non-public APIs

分类:5+ SDK

距离第一次上架审核3个月了,之前提示的被拒问题都解决了,最后上传审核一直提示使用了非公开api,检索了下发现存在libpdrcore.a这个库里面,这样个人没法修改了;具体审核被拒问题如下:
Guideline 2.5.1 - Performance - Software Requirements

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

WKContentView, UITabBarSwappableImageView

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.

Continuing to use or conceal non-public APIs in future submissions of this app may result in the termination of your Apple Developer account, as well as removal of all associated apps from the App Store.

Next Steps

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.

Resources

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

翻译后:
准则2.5.1 - 性能 - 软件要求您的应用程序使用或引用以下非公共API:WKContentView,UITabBarSwappableImageView App Store上不允许使用非公共API,因为如果这些API可能导致糟糕的用户体验更改。在将来提交此应用程序时继续使用或隐藏非公共API可能会导致Apple Developer帐户被终止,以及从App Store中删除所有相关应用程序。后续步骤如果您使用的是第三方库,请更新到这些库的最新版本。如果您无权访问库的源,则可以使用“strings”或“otool”命令行工具搜索已编译的二进制文件。“strings”工具可以输出库调用的方法列表,“otool -ov”将输出Objective-C类结构及其定义的方法。这些工具可以帮助您缩小有问题的代码所在的位置。您还可以使用“nm”工具验证是否有任何第三方库正在调用这些API。资源如果没有提供应用程序所需功能的替代方法,您可以提交增强请求。

2019-01-23 17:37 分享
已邀请:
zhrren

zhrren

同样遇到这个问题, 搜索在 liblibPDRCore.a 中出现. 求解决.

DCloud_IOS_CLP

DCloud_IOS_CLP

http://download.dcloud.net.cn/iOSSDK@1.9.9.58064_20190121.zip 这个是最新的sdk下载地址,里面有改好的 liblibPDRCore.a 库

  • 悠悠然 (作者)

    多谢,希望完美上架

    2019-01-28 15:09

  • DCloud_IOS_CLP

    回复 悠悠然:客气了,如果上架成功,麻烦和我说下,谢谢了

    2019-01-28 16:10

要回复问题请先登录注册