我的app的上传史:
以上即是我构建的版本号,除了第一次是首次上传审核,之后的每次Build都是审核打回来修改的;这段审核时间长达整整20天,听说这个时间相对于以前已经算快的了,但是对于一个新手的我来说,等待却是一件很漫长的事,中间的坎坷就更不用说了。
很快首次试飞,就迎来了第一次的惨败,虽然我已有了一些心理准备,但还是有不小打击的,奉上我的被拒理由:
被拒的描述1:
From Apple
2. 1 PERFORMANCE: APP COMPLETENESS
2. 3 PERFORMANCE: ACCURATE METADATA
Performance - 2.1
We were unable to review your app as it crashed on launch. We have attached detailed crash logs to help troubleshoot this issue.
Next Steps
Please revise your app and test it on a device while connected to an IPv6 network (all apps must support IPv6) to ensure it will launch without crashing.
Resources
For additional information about supporting IPv6 Networks, please refer to Supporting `IPv6 DNS64/NAT64 Networks `and `Supporting IPv6-only Networks`.
For a networking overview, please see About Networking.
For information on how to symbolicate and read a crash log, please see Tech Note TN2151 Understanding and Analyzing iPhone OS Application Crash Reports.
If you have difficulty reproducing this issue, please try testing the workflow described in Testing Workflow with Xcode's Archive feature.
大致扫一遍就可以看出来被拒的理由:IPv6
的问题;当时我就懵了,这该怎么修改啊,让我如何是好,这个本来就是一个简单的不能再简单的APP了,虽然提交之后我有发现了APP的一些Bug,但是还真没想到网络的问题,之后我就在网上看了各种‘因为IPv6被拒的解决方案’,也加了好多的有关IPv6的群,却发现千篇一律,大部分是要租国外的服务器,期间我看见群里有人说,可能当时审核的时候网络不好,再提交一次就可能过;于是乎我就抱着侥幸的心理,把我之前发现的Bug给修改了,但是网络的部分基本没动,之后又是漫长的等待。
出乎我的意料复审的速度也很快,一天多时间我的APP又回来了,被拒理由居然又是‘IPv6’的问题,
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.
If we misunderstood the intended behavior of your app, please reply to this message in the 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(s). For updates, install the new version as an update to the previous version, then follow the steps to reproduce the issue(s).
```
这是真的是要疯的节奏,我开始认真的查看我的
APP,近乎我的每一个页面都需要请求数据,我对比了审核发来的截图,先找到对应的页面,找了好久,又询问了其他的高手,说是可能是第三方框架的问题;我开始查看跟网络有关三方框架,发现用的两个:`SDWebImage`和`AFNetworking`,但是看到截图上什么数据都没有我排除了第一个,那么问题就应该是剩下的那个,再看官方有关IPv6的说明,建议使用的API如下图:
![Networking frameworks and API layers.png](http://upload-images.jianshu.io/upload_images/2382809-af60b728f4f7466c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
难道我要把网络请求的部分都改了,我不死心继续看我的网络部分,突然,我发现没有数据的那几个的网络请求我都进行了封装,我在想是不是封装的问题,想着我就开始行动,把封装的部分又进行拆封,同时把三方库进行更新,运行看看显示成功,我就又一次的上传了。
再审期间,我一直在想一定要过呀,但是谁知结果往往总是出人意料;我真的崩溃了,被拒的理由竟然还和上一个一模一样,截图也都差不多,我都在想审核是不是在逗我,没办法谁让人家说的算呢,硬着头皮,继续我的修改之路,喜欢找偏门的我看出一点我自认为的猫腻,偶然看到截图上的图标都是ipd,我在想是不是只在ipd的上面不能显示,明明我自己测试的都可以啊,我就决定先把这些支持ipd的都去掉,同时我在想这样不是万全之策啊。
自己看着截图一直发呆,在想你们为什么请求不到数据呢,既然你们请求不到数据,那我就给你们数据请求好,这时我想到了plist文件,虽然它只能简单的数据处理,但我想也应该够我用了,
Plist文件写入数组(包含读取,插入和删除)参考链接
http://www.jianshu.com/p/df7fd7d48edf
这下应该没问题了吧,数据也都请求完了,数据应该能显示了吧,
我是这样想的,做完这些我松了一口气打完包继续上传,又开始了我的忐忑之路。
###三次悲剧(被拒)完,待续。。。
下篇:
http://www.jianshu.com/p/e9d86b4ef293