AppleのIn-Purchaseで課金テストをしたいのにプロダクトがエラーになってしまう場合のチェック項目

サクッとテストしたいのに

productsRequest(_ request: SKProductsRequest, didReceive response: SKProductsResponse)

でなぜか全てのプロダクトがinvalidProductIdentifiersになってしまう。
そんな場合は下記をチェック

  • Have you enabled In-App Purchases for your App ID?
  • Have you checked Cleared for Sale for your product?
  • Have you submitted (and optionally rejected) your application binary?
  • Does your project’s .plist Bundle ID match your App ID?
  • Have you generated and installed a new provisioning profile for the new App ID?
  • Have you configured your project to code sign using this new provisioning profile?
  • Are you building for iPhone OS 3.0 or above?
  • Are you using the full product ID when when making an SKProductRequest?
  • Have you waited several hours since adding your product to iTunes Connect?
  • Are your bank details active on iTunes Connect? (via Mark)
  • Have you tried deleting the app from your device and reinstalling? (via Hector, S3B, Alex O, Joe, and Alberto)
  • Is your device jailbroken? If so, you need to revert the jailbreak for IAP to work. (via oh my god, Roman, and xfze)

私の場合は、Are your bank details active on iTunes、要するに銀行口座の反映がされていなかった。(Banking Informationでみると24時間かかるみたい)

参考
Invalid Product IDs

You may also like...

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です