經(jīng)過20天與蘋果的艱苦斗爭,終于在被拒7次的今天,成功上線,下面談一談被拒的解決方法。1、Performance - 2.3
We noticed that your app's metadata includes the following information, which is not relevant to the app's content and functionality:"蘋果政策規(guī)定:iOS端充值余額不能在其他非iOS端使用"Next StepsPlease revise or remove this content from your app's metadata.
解決方法:說的是這一句話和app沒關(guān)系,我們把他去掉,然后問題解決
2、
Legal - 5.1.1
We noticed that your app requires users to register or login to access non account-based features, such as In-App Purchase products, which is not allowed on the App Store. We've attached screenshot(s) for your reference.Next StepsUser registration that requires the sharing of personal information must be optional or tied to account-specific functionality.Please make it clear to the user that registering will enable them to access the content from any of their iOS devices, and to provide them a way to register at any time, if they wish to later extend access to additional iOS devices.Please note that although guideline 3.1.2 of the App Store Review Guidelines requires an application to make subscription content available to all the iOS devices owned by a single user, it is not appropriate to force user registration to meet this requirement; such user registration must be made optional.
解決方案:這個(gè)項(xiàng)目含有內(nèi)購,開始我們以為內(nèi)部購買的時(shí)候,就是點(diǎn)擊購買,先提示先登錄,登錄后才能調(diào)到購買界面,這也是符合邏輯的,但是不能成功。我們開始改為不登錄也能跳到購買界面(購買界面含購買項(xiàng)目的具體金額等),在購買界面購買時(shí)彈出提示界面,可供選擇登陸與不登錄,這個(gè)問題就沒了。沒想到又有新的相關(guān)問題,因?yàn)槲覀兊某渲岛忘c(diǎn)擊登陸在同一個(gè)界面,點(diǎn)擊充值的時(shí)候,也會(huì)說我們強(qiáng)制登陸了,沒辦法我們修改為沒有登陸的時(shí)候,把充值隱藏掉,登陸后顯示,但還是不成功,最后我們采取游客模式,最終解決掉這個(gè)bug。
3、
Performance - 2.1
We discovered one or more bugs in your app when reviewed on iPad and iPhone running iOS 9.3.2 on Wi-Fi.Specifically, an error message (null) is displayed when purchasing app currencies. We've attached screenshot(s) for your reference. Next StepsPlease 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 and Supporting IPv6-only Networks.For a networking overview, see About Networking.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(s). For updates, install the new version as an update to the previous version, then follow the steps to reproduce the issue(s).
解決方法:這個(gè)上面寫的是ipv6的問題,我先按網(wǎng)上驗(yàn)證ipv6的方式(http://www.cnblogs.com/dahe007/archive/2016/05/26/5527086.html)驗(yàn)證了一下發(fā)現(xiàn)沒問題,就判定這個(gè)絕對不是ipv6的問題,查了很多資料最終確定后臺充值沒做二次驗(yàn)證,蘋果審核時(shí)仍然在沙盒環(huán)境(https://sandbox.itunes.apple.com/verifyReceipt)下測試,但是上線下載時(shí)用得是生產(chǎn)環(huán)境(https://buy.itunes.apple.com/verifyReceipt)所以就會(huì)報(bào)21007的錯(cuò)誤,會(huì)形成支付成功但是后臺充不上值,所以會(huì)被拒,修改辦法就是后臺做二次驗(yàn)證,即收到21007時(shí)做二次驗(yàn)證,用沙盒環(huán)境驗(yàn)證。
總結(jié):上線時(shí)遇到問題,不要慌,多網(wǎng)上查查原因,多揣摩蘋果的原意,你一定沒有問題。