最近项目接触到了苹果的程序内购(IAP),碰到不少问题,参考了很多帖子才得以解决。在此总结一下,多少可以为初次接触IAP的童鞋一些帮助,面对苹果严格的审核少费一点脑筋。闲话不多说,刚接触时的纠结我懂得。。
关于如何新建IAP我在这里就不多说了。重点说一下,大多数人会遇到的问题以及解决方法。
第一次,新建好IAP,然后沙盒测试完了,以为没有问题就提交了,结果等了7天,结果是被苹果给拒了。。。苦逼呀!!
Missing IAPs
We are unable to complete the review of your app since one or moreof your In App Purchases have not been submitted for review.
Please be sure to take action and submit your In App Purchases ANDupload a new binary in iTunes Connect. Learn more about submittingIn App Purchases for review in the
iTunes Connect Developer Guide.
大体的意思是说苹果没有收到IAP的审核请求。当时一头雾水呀,就狂查资料,慢慢的返现了问题。
我的IAP的状态都是 submitfor review 而且 点击每一个IAP都,最上边都有警告提示:
Your first In-App Purchase(s) mustbe submitted with a new app version. Select them from the In-AppPurchases section of the Version Details page and then click
Readyto Upload Binary.
然后在app details的界面,在截图下面有个 in-apppurchase的选项, 下面有一行提示:
In-App Purchases cannot be added tothis version because it has already been submitted for review. Tomanage your In-App Purchases, go back to the App Summary
page andclick on the Manage In-App Purchases button.
出现这样提示的童鞋要注意了,这是你操作顺序的问题了。而这个状态下,iap是不能submitfor review的。
一步步解解决吧,这种情况下,最常用的做法就是,先随便上传个二进制文件,然后app的状态会变成watingfor review,这说明上传成功率,接下来先点击view details ,然后再点击binary details,在右上角就会出现
reject this binary,然后点击rejectthis binary 把刚才上传的二进制文件给删除了。 最后 点击back,返回到appdetails的界面,你会发下, in-apppurchase的选项后面有个小小的Edit,点击Edit会看到你所有的IAP出现在里面,然后全选中然后再done,然后再点击binarydetails,点击右上角的
ready for upload。然后上传你的二进制文件,这样你的iap就直接进入到waitingfor review状态了。
好了这样就OK了,接下来就是等待苹果的严格审核了。。。。
Missing IAPs
We are unable to complete the review of your app since one or moreof your In App Purchases have not been submitted for review.
Please be sure to take action and submit your In App Purchases ANDupload a new binary in iTunes Connect. Learn more about submittingIn App Purchases for review in the
iTunes Connect Developer Guide.
大体的意思是说苹果没有收到IAP的审核请求。当时一头雾水呀,就狂查资料,慢慢的返现了问题。
我的IAP的状态都是
Your first In-App Purchase(s) mustbe submitted with a new app version. Select them from the In-AppPurchases section of the Version Details page and then click
Readyto Upload Binary.
然后在app details的界面,在截图下面有个 in-apppurchase的选项, 下面有一行提示:
In-App Purchases cannot be added tothis version because it has already been submitted for review. Tomanage your In-App Purchases, go back to the App Summary page andclick on the Manage In-App Purchases button.
出现这样提示的童鞋要注意了,这是你操作顺序的问题了。而这个状态下,iap是不能submitfor review的。
一步步解解决吧,这种情况下,最常用的做法就是,先随便上传个二进制文件,然后app的状态会变成watingfor review,这说明上传成功率,接下来先点击view details ,然后再点击binary details,在右上角就会出现
reject this binary,然后点击rejectthis binary 把刚才上传的二进制文件给删除了。 最后 点击back,返回到appdetails的界面,你会发下, in-apppurchase的选项后面有个小小的Edit,点击Edit会看到你所有的IAP出现在里面,然后全选中然后再done,然后再点击binarydetails,点击右上角的
ready for upload。然后上传你的二进制文件,这样你的iap就直接进入到waitingfor review状态了。
好了这样就OK了,接下来就是等待苹果的严格审核了。。。。