w***@qq.com
w***@qq.com
  • 发布:2018-06-13 10:14
  • 更新:2018-08-20 19:28
  • 阅读:4979

IOS审核被拒,提示“二进制文件被拒绝” Guideline 2.5.1 - Performance - Software Requirements

分类:HBuilder

IOS审核被拒,提示“二进制文件被拒绝” Guideline 2.5.1 - Performance - Software Requirements
请高人指导下这个是怎么回事,下面就是苹果反馈的信息:

下面是复制 出来的内容


0.97 二进制文件被拒绝 2018年6月9日

Guideline 2.5.1 - Performance - Software Requirements Your app uses the "prefs:root=" non-public URL scheme, which is a private entity.

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.

跪求高人指导!!!

2018-06-13 10:14 负责人:无 分享
已邀请:
8***@qq.com

8***@qq.com - 你好

我的解决了,我的功能比较单一,主要是实现由app到app设置页面和app store的更新页面的跳转,原来的跳转代码使用含有"prefs:root" or "App-Prefs:root" 的形式实现的,但是这种方式过期了,所以这段代码要替换掉,现在使用以下形式进行跳转到app设置页面
//本应用的设置页面
activity.goToThisAppSetting = function(){
if(plus.os.vendor=="Google"){
var Intent = plus.android.importClass("android.content.Intent");
var Uri = plus.android.importClass("android.net.Uri");
var mainActivity = plus.android.runtimeMainActivity();
var intent = new Intent();
intent.setAction("android.settings.APPLICATION_DETAILS_SETTINGS");
intent.setData(Uri.fromParts("package", mainActivity.getPackageName(), null));
mainActivity.startActivity(intent);
}else if(plus.os.vendor=="Apple"){
var UIApplication = plus.ios.import("UIApplication");
var NSURL = plus.ios.import("NSURL");
var setting = NSURL.URLWithString("app-settings:");
var application = UIApplication.sharedApplication();
application.openURL(setting);
plus.ios.deleteObject(setting);
plus.ios.deleteObject(application);

}
}

该问题目前已经被锁定, 无法添加新回复