一, Guideline 2.5.1 - Performance - Software Requirements 被拒原文
APP 内部使用了私有 API
发件人 Apple 2. 5 Performance: Software Requirements 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.
- 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.
二, 解决办法
检查一下代码里是否有 prefs:root=, 将类似这段私有 api
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=LOCATION_SERVICES"]];
换成下面的
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
三, 类似的 iOS 10 跳转系统设置文档
来源: http://www.92to.com/bangong/2018/08-28/34046194.html