用HB开发了一个app,第一次上线的时候因为后端服务器域名未申请下来,所以用了IP。正常审核通过域名下来后,app里面的ip改成了域名方式,结果苹果审核拒绝,原因是登陆时候有一个认证码显示不出来,其实那个认证码就是需要通过后端服务器域名进行访问。那个认证码地址http://www.pwzjsalt.com/generateImage,我找人在香港,澳洲,北美都测试过,可以访问到的。所以有点怀疑我们这个HB生成的app是否不支持他们所说的纯ipv6环境,顺便说一下网络上那些有个ipv6域名的测试也都做过,而且是在海外测试过了都正常。 下面是苹果拒绝的原文:
We discovered one or more bugs in your app when reviewed on iPad running iOS 10.2.1 on Wi-Fi connected to an IPv6 network.
The app could not show 驗證碼.
Please see attached screenshots for details.
Next Steps
Please run your app on a device while connected to an IPv6 network (all apps must support IPv6) to identify any issues, then revise and resubmit your app for review.
If we misunderstood the intended behavior of your app, please reply to this message in Resolution Center to provide information on how these features were intended to work.
For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce the issue. For updates, install the new version as an update to the previous version, then follow the steps to reproduce the issue.
Resources
For information about supporting IPv6 Networks, please refer to Supporting IPv6 DNS64/NAT64 Networks and About Networking.
附件就不贴了,可以确认就是登陆时候认证码出不来,肯定不是程序逻辑问题。所以这里想请咱DCLOUD确认一下通过HB上传云端生成的APP是否支持ipv6还是有什么限制条件。(嗯,顺便抱怨一下上传云端编译,ios app及其不稳定,有时候编译很快,有时候居然卡了半天,晚上7:00上传,第二天才能弄好下载)
3 个回复
BoredApe - 有问题就会有答案。
先在本地搭建v6测试环境测试看看客户端访问网络是否有问题,
测试环境搭建参考http://www.cnblogs.com/fengmin/p/5526487.html
本地测试没有问题仍然被拒可以参考下该文档看是否可以解决问题http://www.jianshu.com/p/d18ada23f78d
w***@qq.com (作者)
确认一下,咱这个云端编译出来的app是支持苹果要求的ipv6吧?如果这个不支持,我瞎折腾啥测试环境也没意义。是不是
BoredApe
IPV6 指的是服务端支持. 和平台无关. 请保证应用能请求到你的地址.
2017-03-06 16:23
w***@qq.com (作者)
苹果里面的要求是app必须使用了最新的支持ipv6的类包啊,如果app本身都不支持ipv6,肯定就不要说后端。苹果对服务端其实没ipv6的要求,只是要求对dns查询的时候可以正确响应而已
2017-03-07 08:02
a***@163.com - 做自己感兴趣的事情才是天赋所在
顶一下,在线云编译是否支持 IPV6