关于私有api审核被拒问题定位

2019-04-21 15:51:55 浏览数 (1)

前言

送审被拒,因为调用了【prefs:root=】相关api,但自身代码没有相关代码,难以定位到底是哪里出问题

代码语言:javascript复制
Guideline 2.5.1 - Performance - Software Requirements


Your app uses the "prefs:root=" non-public URL scheme, which is a private entity. 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.

Specifically, your app uses the following non-public URL scheme:

prefs:root=touchid_passcode

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

To resolve this issue, please revise your app to provide the associated functionality using public APIs or remove the functionality using the "prefs:root" or "App-Prefs:root" URL scheme.

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

处理方法

通过终端,CD到工程目录,然后运行以下代码进行搜索定位

代码语言:javascript复制
grep -lr "TOUCHID_PASSCODE" * | grep -v .svn | grep -v .md

就能找到是哪个库出问题:

0 人点赞