iOS 上线被拒问题总结

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

结局方式:(1) 整个项目搜索prefs:root= 看自己的项目中是否包含prefs:root=字段,主要集中在需要打开系统设置的地方,版本是ios8 以前 跳转系统设置使用  。将使用prefs:root=的地方替换为

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

(2 )打开终端 cd到自己的项目目录 输入 :grep -lr "prefs:root="查看私有API(如:.a .framework 等)中是否含有prefs:root=,如果含有,替换之。

2.ipv4,ipv6 问题 

We discovered one or more bugs in your app when reviewed on iPhone running iOS 11.4.1 on Wi-Fi connected to an IPv6 network.

    苹果的测试使用 ipv6网络测试,但是国内的网络是用的是ipv4,查看自己的工程是否支持ipv6。

3.info.plist中的权限描述

We noticed that your app requests the user’s consent to access their camera and photos but does not clarify the use of this feature in the permission modal alert.

查看info.Plist中的Privacy - Photo Library Usage Description 的描述是否规范,比如:

XXXX需要您的同意,才能访问相册 这样是不行的,必须写明那些功能使用了相册权限,

XXXX需要您的同意,才能访问相册,获取您的头像。

你可能感兴趣的:(iOS 上线被拒问题总结)