美文网首页
iOS 上线被拒问题总结

iOS 上线被拒问题总结

作者: 瘦柳山人 | 来源:发表于2018-08-30 13:57 被阅读0次

    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 上线被拒问题总结

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