美文网首页
iOS app上架AppStore被拒原因以及解决方案汇总

iOS app上架AppStore被拒原因以及解决方案汇总

作者: 奔跑的喔汼 | 来源:发表于2018-12-10 09:42 被阅读15次

1.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.

这段话大致的意思就是:你使用了苹果的私有api("prefs:root" or "App-Prefs:root"),必须替换成公有api
解决方法:
将类似这段私有api
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=LOCATION_SERVICES"]];
换成下面的
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];

记录问题,与大家分享,共同进步😁
后续会不断更新!

相关文章

网友评论

      本文标题:iOS app上架AppStore被拒原因以及解决方案汇总

      本文链接:https://www.haomeiwen.com/subject/ddzlhqtx.html