因为Ipv6 我被苹果拒绝了2次

问题描述:以前开发的某款APP最近版本更新的时候被苹果拒绝。拒绝理由在下面,Thank you for your submission. However, we found the previously communicated compliance issue/s to be unresolved.

Performance - 2.1



We discovered one or more bugs in your app when reviewed on Wi-Fi.

Specifically, when we attempt to log-in, an activity indicator would spin briefly, then dismisses itself with no further action taken by the app.

The user remains on the log-in screen, and is unable to use your app.
We've attached screenshot(s) for your reference. 

Next Steps

Please run your app on a device to identify the issue(s), then revise and resubmit your app for review.

Apps are reviewed on an IPv6 network. Please ensure that your app supports IPv6 networks, as IPv6 compatibility is required.

For additional information about supporting IPv6 Networks, please refer to Supporting IPv6 DNS64/NAT64 Networks.

For a networking overview, see About Networking.

Resources 

If you have difficulty reproducing a reported issue, please try testing the workflow described in Technical Q&A QA1764: How to reproduce bugs reported against App Store submissions.

If you have code-level questions after utilizing the above resources, you may wish to consult with Apple Developer Technical Support. When the DTS engineer follows up with you, please be ready to provide:
- complete details of your rejection issue(s)
- screenshots
- steps to reproduce the issue(s)
symbolicated crash logs - if your issue results in a crash log


这个问题其实一看就知道怎么回事:就是苹果那边审核的时候登陆不上去(我这边是什么网络都能登录),让我检查看看是不是项目支持IPv6.


解决思路:1、不能登录,看看是不是发布的内网地址,我在TestFlight上内测了被拒绝的app,4G网能用。确定不是这个原因。

2、在网上搜了关于iOS IPV6的博客、文章。说的不调用底层接口都是支持的,其中我看到了一个说 NSURLConnect 进行网络请求的是支持IPv6的,于是我又忽略掉了这个。

然后提交了一个新的版本还附加了信息说我这边可以登录,结果又被拒了。


我的登录接口是用的原声接口写,最后用NSURLConnect发送的请求,这时候我在Mac 上搭建了一个Ipv6 的网络(怎么搭建的网上教程实在太多,不赘述),在把被拒的app下载下来登录运行,发现不能登录进去,我当时就把这个改为NSURLSession 进行网络会话,然后在ipv6环境下登录运行,成功了(备注:我在这个网络下测试的app里面网址都是直接写的IP地址,改为NSURLSession之后在Mac上按照网上的教程搭建的ipv6网络是可以登录的,后来把网址改为域名了(外网了),在这个ipv6网络下还是无法登陆)。后面大概猜测了是解析出了问题,这时候:我把Mac网线拔了,用手机流量分享热点,mac链接之后,才在Mac上创建ipv6网络,这时候,app里面url不管是域名还是直接写ip都能登陆,后面发布上去也通过审核了。


还有如果你的项目里面有AFNetworking、Reachability 记得一定要更新到支持IPV6版本。

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

moxi_wang

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值