iOS解决应用被拒:Guideline 2.5.1 - Performance - Software Requirements

 一、Guideline 2.5.1 - Performance - Software Requirements被拒原文

APP内部使用了私有API

  • 2018年8月24日 下午11:11
    发件人 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.  

二、解决办法

  1. 检查一下代码里是否有prefs:root=,
  2. 将类似这段私有api
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=LOCATION_SERVICES"]];

换成下面的

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];

三、类似的iOS 10 跳转系统设置 文档

参考路人链接:http://www.cnblogs.com/lurenq/p/6189580.html

 

你可能感兴趣的:(APPStore,itunes,上架)