因為IPv6問題被拒,困擾了將近一周,最后審核通過,看了網上各種情況都有,也許我這次通過只是運氣好,但也做個記錄,希望可以幫到其他人。
這次app發新版本做了iPad適配,Xcode里Devices選擇了Universal,只是做了UI上的調整,沒有其他大的改動,往常app審核基本上都是白天上傳,第二天夜里就通過,這次用了兩天,最后結果是被拒。審核意見如下:
2017年8月12日 上午1:45
發件人 Apple
Guideline 2.1 - Performance - App Completeness
We discovered one or more bugs in your app when reviewed on iPad running iOS 10.3.3 on Wi-Fi connected to an IPv6 network.Specifically, an error message appeared when we attempted to login.The steps to reproduce are:1. Launch the app2. Enter demo account credentials3. An error message appearsPlease see attached screenshots for details.Next StepsTo resolve this issue, please run your app on a device 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.ResourcesFor information about testing your app and preparing it for review, please see Technical Note TN2431: App Testing Guide.For a networking overview, please review About Networking. For a more specific overview of App Review’s IPv6 requirements, please review the IPv6 and App Review discussion on the Apple Developer Forum.
大概的意思就是當他們在IPv6環境下把app運行在10.3.3系統的iPad上時,發現了一個bug,在登錄的時候彈出了一條錯誤提示,無法登錄。
我們的app自從上線以來,從來沒有因為IPv6問題被拒過,上網搜索了一下解決方案,看到有的人說因為IPv6被拒有時候其實并不是IPv6的問題,有可能是app真的有 bug,把我們的app按照蘋果官網上寫的IPv6測試方法測試了一下,能夠正常登錄運行。所以第一感覺,是不是蘋果那邊的網絡不通,導致審核時恰好連不上我們的服務器。想著如果申訴能通過的話,也就避免了重新上傳新版本,會節省一些時間。于是馬上進行了申訴,并且還錄了一段在IPv6環境下iPad正常登錄的視頻放在里面(由于當時手邊沒有iPad真機,就用了iPad模擬器)。
第二天收到了蘋果發來的回復,內容如下:
2017年8月13日 上午8:56
發件人 Apple
- 1 Performance: App Completeness
Hello,Thank you for your reply. During our review, we found that an error message appeared when we attempted to login. While we cannot provide technical assistance with the reported issues, we have put together the following resources which discuss common issues seen in apps during review.To start, please review the App Testing Guide, which gives an overview of how to test your app to minimize the chances of issues occurring during review.You may also want to review Designing for Real-World Networks, as all apps are reviewed on-device and in an environment that replicates real-world use of your app.All apps are reviewed on an IPv6 network. While the issue we encountered during review might not be caused specifically by IPv6 incompatibility, it is important to make sure your app can run on an IPv6-only network. Supporting IPv6-only Networks gives details on supporting IPv6-only networks. You can also find answers to commonly asked questions regarding IPv6-only compatibility on Apple Developer Forums’ Supporting IPv6-only Networks Q&A page. Step-by-step instructions for setting up a local IPv6 network on your Mac can be found in Supporting IPv6 DNS64/NAT64 Networks.We hope that the above is useful in your revision process, and we look forward to reviewing your revised and resubmitted app.Best regards,App Store Review
和上一次的內容基本相同,并且特別強調了需要我們用真機進行測試。
所以我又仔細想了一下這次的改動,和他們發的郵件,只說了在iPad上測試有問題,難道是因為iPad的問題?因為當時急著上新版本,所以我干脆暫時把Devices又換回了iPhone,重新提交版本上傳。當時覺得,如果真的是在iPad真機上有問題,那把Devices換回iPhone應該就不會有問題了吧,其他真的沒有太大的改動。
當天(周日)上午重新了提交版本,非常著急,又用了加急審核。當天晚上11點收到蘋果回復,說加急審核不通過。無奈只好繼續等,等了一天還是沒有審核,以為是因為周末審核速度慢,又過了一天還在等待審核,這時有點懷疑,難道又被拒了?當天夜里收到提醒,正在審核中,以往審核中也就持續2個小時左右,快的時候不到半個小時就會審完。所以就不睡覺等結果,想著如果被拒的話,馬上重新提交一個版本說不定還能審一次。結果就這么一直等,等了三個小時還在審核中,最后等睡著了。。第二天早上起來還在審核中!一直到第二天中午還在審核中,這種情況估計就離被拒不遠了,干脆就把這個版本撤下來了,準備重新提交。
這時我開始想到底是因為什么被拒,應該不是因為iPad的問題被拒,應該也不是因為我新加的代碼被拒,因為只是一些UI和文案上的改動,難道是我們的域名有問題?但如果真的是域名有問題,為什么這次才被拒,以前一直沒問題呢?懷著試試看的心態,我找了我們的后臺幫我給我們的域名做了IPv6支持,之前在IPv6測試網站上確實是不通過的,改動以后測試通過了。又看了一下網上其他人的方法,用真機錄了一段我們的app在IPv6網絡環境下正常登錄運行的視頻,放在了備注里。重新提交了審核。
這時心情還是特別復雜的,覺得這次通過的幾率也就百分之50吧,因為看到被拒十幾次,幾十次的人都有。甚至還找到了淘寶上賣IPv6審核通過方案的,里面的商品介紹還寫著我上面用的方法都不行,這時更加忐忑了,覺得如果還不通過的話,就干脆在淘寶上買吧。要不然如果一直不通過的話,估計就會被炒魷魚了。
這次提交以后,當天晚上就顯示正在審核中,忐忑地去睡覺了,第二天早上竟然通過了!這次審核只用了2個小時,完全正常。
總結一下通過的方法,一個是給域名做IPv6支持,一個是錄了真機上可以運行的視頻。我不能完全確定是因為哪一個通過的,但我認為前者的關系大一些。
http://ipv6-test.com/ 這個是IPv6測試的網址
https://tunnelbroker.net/ 這個是我們后臺用來注冊IPv6域名的網址,是完全免費的
但我無法保證下一次再審核的時候會不會再次因為IPv6的問題被拒,如果再次被拒的話我會再次尋找解決方案,在這里記錄。
所以建議因為IPv6問題被拒的朋友,按照以下步驟進行:
1.首先按照審核意見看一下是不是真的有上面說的bug,一定要按照審核意見里面說的測試環境測試。因為蘋果可能把一切和網絡相關的問題歸結為IPv6問題。
2.http://ipv6-test.com/ 去這個網站測試一下 你們的域名是否支持IPv6
如果連第一項都不通過,那就需要做一下轉化了,這個可以讓你們的后臺人員協助操作
3.你也可以像我一樣錄一個在IPv6環境下可以正常運行的視頻放到優酷上,在提交審核的時候把視頻鏈接放到備注里。注意一定要在真機上運行。不知道怎么拍視頻的可以私信我,發給你鏈接。
大部分按照上面這三條處理都可以通過吧,而且全程是免費的,如果還不能通過,建議你去淘寶看一下吧,總不能因為這件事一直被拒而丟了工作吧。
可能我總結的還不夠全面,歡迎補充,還有遇到其他情況的,歡迎留言,大家一起交流~
另外我還總結了一篇蘋果官方關于IPv6問題的介紹,遇到這種審核問題畢竟還是官方的說法最靠譜,千萬不要被網上的一些傳言所欺騙,白花錢或者浪費一次又一次的審核機會,因為如果被拒的次數過多的話,審核被延期或者封號都是有可能發生的。