Swift教程

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

本文主要是介绍关于私有api审核被拒问题定位,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

前言

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

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到工程目录,然后运行以下代码进行搜索定位

grep -lr "TOUCHID_PASSCODE" * | grep -v .svn | grep -v .md
复制代码

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

这篇关于关于私有api审核被拒问题定位的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!