开发者

In App Purchase no valid Product IDs [closed]

开发者 https://www.devze.com 2023-01-01 14:28 出处:网络
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.

This question was caused 开发者_StackOverflow社区by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.

Closed 5 years ago.

Improve this question

I'm trying to get In App Purchase with my existing iPad App working. I'm stuck retrieving the Product Information from App Store:

- (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response

The SKProductsResponse only contains invalid Product IDs. I tried every potential solution I found here or on the net:

  • my App ID has In App enabled
  • I generated a new provisioning profile and installed it on my device
  • I restarted the device
  • my App ID is the same as in my Info.plist (it's in the Store since weeks)
  • I added In App Purchases for the App with "cleared for sale" checked
  • I added Screenshots to my In App Purchases
  • I tried different naming schemes for the Product ID
  • I made triple checked that I pass the correct Product ID to the SKProductsRequest
  • I'm passing a NSSet to the SKProductsRequest instead of a MutableSet
  • I updated my App with the upcoming version containing in App purchase and submitted it for Review
  • I approved one of my In App Purchases, just to see if that helps
  • I waited more than 24 hours

All of these actions brought me nothing but invalid Product IDs.

I hope someone can point me into the right direction, because I'm running out of ideas.


Are you logged in as an In-App Purchase test user? (You can create one via iTunes Connect under manage users). Products that have not been approved for sale will not appear if you're using a regular account, even if it's a development build, and even if the app itself has cleared for sale. You may need to sign out of your regular account on the iPhone first (Home Screen -> Settings -> App Store -> Log out).

You say you're getting invalid product ids rather than none though - what kind of ids are you getting back? Are they gibberish or is it returning someone else's ids? Examples would help.

0

精彩评论

暂无评论...
验证码 换一张
取 消