提交審核返回錯(cuò)誤信息
Guideline 2.5.1 - Performance - Software Requirements
Thank you for your resubmission. However, we noticed that the previous issue has not been resolved.?
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.
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.
Since your App Store Connect status is Rejected, a new binary will be required.
解決問(wèn)題的方案
百度荡灾,Google溜了一大圈都是說(shuō)找到工程里面的相關(guān)使用App-Prefs:莽红,然后刪除就OK了,替換為Apple提供的api:UIApplicationOpenSettingsURLString跳轉(zhuǎn)到設(shè)置即可
但是搜索之秃流,并未發(fā)現(xiàn)任何相關(guān)代碼房交,最后思考可能問(wèn)題出現(xiàn)在第三方的.a或者.framework文件中
最后使用命令行來(lái)查找工程中的私有api“App-Prefs”
grep -lr "prefs:root=" *
遞歸查找列出文件內(nèi)容符合指定的樣式的文件名稱
最后就找到了使用prefs:root=的第三方包朋鞍,找到原因就可以制定相關(guān)的解決方案了
溜了溜了