我的app的上傳史:
以上即是我構(gòu)建的版本號(hào)碍论,除了第一次是首次上傳審核透敌,之后的每次Build都是審核打回來(lái)修改的蜡娶;這段審核時(shí)間長(zhǎng)達(dá)整整20天,聽說(shuō)這個(gè)時(shí)間相對(duì)于以前已經(jīng)算快的了题翰,但是對(duì)于一個(gè)新手的我來(lái)說(shuō)恶阴,等待卻是一件很漫長(zhǎng)的事诈胜,中間的坎坷就更不用說(shuō)了豹障。
很快首次試飛,就迎來(lái)了第一次的慘敗,雖然我已有了一些心理準(zhǔn)備焦匈,但還是有不小打擊的血公,奉上我的被拒理由:
被拒的描述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.
大致掃一遍就可以看出來(lái)被拒的理由:IPv6
的問(wèn)題;當(dāng)時(shí)我就懵了缓熟,這該怎么修改啊累魔,讓我如何是好,這個(gè)本來(lái)就是一個(gè)簡(jiǎn)單的不能再簡(jiǎn)單的APP了够滑,雖然提交之后我有發(fā)現(xiàn)了APP的一些Bug垦写,但是還真沒想到網(wǎng)絡(luò)的問(wèn)題,之后我就在網(wǎng)上看了各種‘因?yàn)镮Pv6被拒的解決方案’,也加了好多的有關(guān)IPv6的群彰触,卻發(fā)現(xiàn)千篇一律梯投,大部分是要租國(guó)外的服務(wù)器,期間我看見群里有人說(shuō)况毅,可能當(dāng)時(shí)審核的時(shí)候網(wǎng)絡(luò)不好分蓖,再提交一次就可能過(guò);于是乎我就抱著僥幸的心理尔许,把我之前發(fā)現(xiàn)的Bug給修改了么鹤,但是網(wǎng)絡(luò)的部分基本沒動(dòng),之后又是漫長(zhǎng)的等待味廊。
出乎我的意料復(fù)審的速度也很快蒸甜,一天多時(shí)間我的APP又回來(lái)了,被拒理由居然又是‘IPv6’的問(wèn)題余佛,
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).
```
這是真的是要瘋的節(jié)奏迅皇,我開始認(rèn)真的查看我的
APP,近乎我的每一個(gè)頁(yè)面都需要請(qǐng)求數(shù)據(jù)衙熔,我對(duì)比了審核發(fā)來(lái)的截圖登颓,先找到對(duì)應(yīng)的頁(yè)面,找了好久红氯,又詢問(wèn)了其他的高手框咙,說(shuō)是可能是第三方框架的問(wèn)題咕痛;我開始查看跟網(wǎng)絡(luò)有關(guān)三方框架,發(fā)現(xiàn)用的兩個(gè):`SDWebImage`和`AFNetworking`喇嘱,但是看到截圖上什么數(shù)據(jù)都沒有我排除了第一個(gè)茉贡,那么問(wèn)題就應(yīng)該是剩下的那個(gè),再看官方有關(guān)IPv6的說(shuō)明者铜,建議使用的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)
難道我要把網(wǎng)絡(luò)請(qǐng)求的部分都改了腔丧,我不死心繼續(xù)看我的網(wǎng)絡(luò)部分,突然作烟,我發(fā)現(xiàn)沒有數(shù)據(jù)的那幾個(gè)的網(wǎng)絡(luò)請(qǐng)求我都進(jìn)行了封裝愉粤,我在想是不是封裝的問(wèn)題,想著我就開始行動(dòng)拿撩,把封裝的部分又進(jìn)行拆封衣厘,同時(shí)把三方庫(kù)進(jìn)行更新,運(yùn)行看看顯示成功压恒,我就又一次的上傳了影暴。
再審期間,我一直在想一定要過(guò)呀探赫,但是誰(shuí)知結(jié)果往往總是出人意料型宙;我真的崩潰了,被拒的理由竟然還和上一個(gè)一模一樣伦吠,截圖也都差不多妆兑,我都在想審核是不是在逗我,沒辦法誰(shuí)讓人家說(shuō)的算呢讨勤,硬著頭皮箭跳,繼續(xù)我的修改之路,喜歡找偏門的我看出一點(diǎn)我自認(rèn)為的貓膩潭千,偶然看到截圖上的圖標(biāo)都是ipd谱姓,我在想是不是只在ipd的上面不能顯示,明明我自己測(cè)試的都可以啊刨晴,我就決定先把這些支持ipd的都去掉屉来,同時(shí)我在想這樣不是萬(wàn)全之策啊。
自己看著截圖一直發(fā)呆狈癞,在想你們?yōu)槭裁凑?qǐng)求不到數(shù)據(jù)呢茄靠,既然你們請(qǐng)求不到數(shù)據(jù),那我就給你們數(shù)據(jù)請(qǐng)求好蝶桶,這時(shí)我想到了plist文件慨绳,雖然它只能簡(jiǎn)單的數(shù)據(jù)處理,但我想也應(yīng)該夠我用了,
Plist文件寫入數(shù)組(包含讀取脐雪,插入和刪除)參考鏈接
http://www.reibang.com/p/df7fd7d48edf
這下應(yīng)該沒問(wèn)題了吧厌小,數(shù)據(jù)也都請(qǐng)求完了,數(shù)據(jù)應(yīng)該能顯示了吧战秋,
我是這樣想的璧亚,做完這些我松了一口氣打完包繼續(xù)上傳,又開始了我的忐忑之路脂信。
###三次悲劇(被拒)完癣蟋,待續(xù)。狰闪。疯搅。
下篇:
http://www.reibang.com/p/e9d86b4ef293