在将iOS应用程序发布到App Store后,应用程序购买无效

时间:2022-07-10 01:26:55

During development I've created test accounts which are able to obtain the price of the in app purchase as well as actually purchasing it without an issue. However after publishing the iOS app to App Store, the version of the app in App store can't even retrieve price of the product, and nothing shows up when I press the button to send the purchase request.

在开发过程中,我创建了测试帐户,这些帐户能够获得应用内购买的价格以及实际购买而没有问题。然而,在将iOS应用程序发布到App Store之后,App Store中的应用程序版本甚至无法检索产品的价格,当我按下按钮发送购买请求时,没有显示任何内容。

Uninstalling the app and redeploy the development version to the same device got it to work again.

卸载应用程序并将开发版本重新部署到同一设备使其再次运行。

What could be the problem? Is there a way to debug or see logs on the app store downloaded version? (iOS noob here)

可能是什么问题呢?有没有办法调试或查看应用商店下载版本的日志? (iOS noob在这里)

Thanks!

谢谢!

3 个解决方案

#1


17  

I had the same problem. The app was approved but in-app purchases were not working. After 24-48 of app publishing problem was fixed by its own. By the time app approved it was not appearing on App Store through search. After it was indexed on App Store in-apps started to work also.

我有同样的问题。该应用已获批准,但应用内购买无效。 24-48的app发布问题由其自己修复。到应用程序批准时,它没有通过搜索出现在App Store上。在App Store上编入索引后,应用程序也开始工作了。

#2


9  

It takes a little time even when everything is approved.

  • My binary was approved.
  • 我的二进制文件被批准
  • My In-App Purchase (IAP) was approved.
  • 我的应用内购买(IAP)获得批准。
  • Testing the purchase in development with a sandbox iTunes Account worked great.
  • 使用沙盒iTunes帐户测试开发中的购买效果很好。
  • Purchasing in production with a real or sandbox iTunes Account would fail.
  • 使用真实或沙盒iTunes帐户进行生产购买将失败。

I didn't have to wait long, something like a couple hours and it just started working.

我没有等待很长时间,比如几个小时,它才开始工作。

Now, my binary and my In-App Purhcase were approved at the same time and almost immediately after they were both approved, I released the app version to the store.

现在,我的二进制文件和我的In-App Purhcase在同一时间获得批准,几乎在它们获得批准后立即获得批准,我将应用程序版本发布到商店。

I'm not positive, but what I probably should have done was wait a couple hours before releasing that new app version and give the In-App Purchase a chance to "register" or "propagate" in the Production App Store.

我不是肯定的,但我可能应该做的是在发布新的应用程序版本之前等待几个小时,并让应用内购买有机会在Production App Store中“注册”或“传播”。

Just a recommendation for others.

只是对他人的推荐。

#3


6  

It takes some time, but the amount isn't predictable. In my case, I launched 3 very similar apps at the same time, so just add some data on this :

这需要一些时间,但数量不可预测。就我而言,我同时推出了3个非常相似的应用程序,所以只需添加一些数据:

  • Everything was approved, the apps were quickly available on the App Store.
  • 一切都获得批准,应用程序很快就可以在App Store上获得。
  • It took about 4 hours for 2 of the apps to show up in search results.
  • 其中2个应用程序在搜索结果中显示大约需要4个小时。
  • After 6 hours, IAPs started progressively showing up (not all at once) for these
  • 6个小时后,IAP开始逐渐显示(不是一次全部)
  • After 9 hours, IAPs for the two apps were complete.
  • 9个小时后,两个应用程序的IAP完成。
  • After 12 hours, IAPs for the last app started appearing, but the last app itself still wasn't showing up in search results.
  • 12个小时后,最后一个应用程序的IAP开始出现,但最后一个应用程序本身仍未显示在搜索结果中。
  • After 14 hours, the last app appeared in search results.
  • 14个小时后,最后一个应用程序出现在搜索结果中。

The order in which I hit the "Publish" button didn't seem to have any influence, nor the number of IAPs, weight of the app, etc. So delays are unpredictable and do not follow a specific rule ("First-in, first-out" or "search results and then IAP")

我点击“发布”按钮的顺序似乎没有任何影响,也没有IAP的数量,应用程序的重量等等。因此延迟是不可预测的,不遵循特定的规则(“先进先出,先出“或”搜索结果然后IAP“)

#1


17  

I had the same problem. The app was approved but in-app purchases were not working. After 24-48 of app publishing problem was fixed by its own. By the time app approved it was not appearing on App Store through search. After it was indexed on App Store in-apps started to work also.

我有同样的问题。该应用已获批准,但应用内购买无效。 24-48的app发布问题由其自己修复。到应用程序批准时,它没有通过搜索出现在App Store上。在App Store上编入索引后,应用程序也开始工作了。

#2


9  

It takes a little time even when everything is approved.

  • My binary was approved.
  • 我的二进制文件被批准
  • My In-App Purchase (IAP) was approved.
  • 我的应用内购买(IAP)获得批准。
  • Testing the purchase in development with a sandbox iTunes Account worked great.
  • 使用沙盒iTunes帐户测试开发中的购买效果很好。
  • Purchasing in production with a real or sandbox iTunes Account would fail.
  • 使用真实或沙盒iTunes帐户进行生产购买将失败。

I didn't have to wait long, something like a couple hours and it just started working.

我没有等待很长时间,比如几个小时,它才开始工作。

Now, my binary and my In-App Purhcase were approved at the same time and almost immediately after they were both approved, I released the app version to the store.

现在,我的二进制文件和我的In-App Purhcase在同一时间获得批准,几乎在它们获得批准后立即获得批准,我将应用程序版本发布到商店。

I'm not positive, but what I probably should have done was wait a couple hours before releasing that new app version and give the In-App Purchase a chance to "register" or "propagate" in the Production App Store.

我不是肯定的,但我可能应该做的是在发布新的应用程序版本之前等待几个小时,并让应用内购买有机会在Production App Store中“注册”或“传播”。

Just a recommendation for others.

只是对他人的推荐。

#3


6  

It takes some time, but the amount isn't predictable. In my case, I launched 3 very similar apps at the same time, so just add some data on this :

这需要一些时间,但数量不可预测。就我而言,我同时推出了3个非常相似的应用程序,所以只需添加一些数据:

  • Everything was approved, the apps were quickly available on the App Store.
  • 一切都获得批准,应用程序很快就可以在App Store上获得。
  • It took about 4 hours for 2 of the apps to show up in search results.
  • 其中2个应用程序在搜索结果中显示大约需要4个小时。
  • After 6 hours, IAPs started progressively showing up (not all at once) for these
  • 6个小时后,IAP开始逐渐显示(不是一次全部)
  • After 9 hours, IAPs for the two apps were complete.
  • 9个小时后,两个应用程序的IAP完成。
  • After 12 hours, IAPs for the last app started appearing, but the last app itself still wasn't showing up in search results.
  • 12个小时后,最后一个应用程序的IAP开始出现,但最后一个应用程序本身仍未显示在搜索结果中。
  • After 14 hours, the last app appeared in search results.
  • 14个小时后,最后一个应用程序出现在搜索结果中。

The order in which I hit the "Publish" button didn't seem to have any influence, nor the number of IAPs, weight of the app, etc. So delays are unpredictable and do not follow a specific rule ("First-in, first-out" or "search results and then IAP")

我点击“发布”按钮的顺序似乎没有任何影响,也没有IAP的数量,应用程序的重量等等。因此延迟是不可预测的,不遵循特定的规则(“先进先出,先出“或”搜索结果然后IAP“)