Thursday 9 May 2013

iOS: cannot find In-App-Purchase product in sandbox app store

You should be able to see In-App-Purchase products in sandbox app store even before you submit your application for review. Changes made in iTunes connect about In-App-Purchase should be immediately seen in sandbox app store.

One cause of problem is your IAP product ID is not unique. IAP product ID needs to be unique in the app store, not just unique in your app. A product ID like "Upgrade" won't work. You need to make it really unique by using reverse domain name like "com.mycompany.mypapp.myprod".

Another requirement is that your app bundle ID needs to match what you use in iTunes Connect. You need to first create a new bundle ID supporting IAP in iOS developer's portal then use it to create a new app in iTunes Connect.

If you change your bundle ID in Xcode, you need to delete the old app in iPhone simulator manually, otherwise Xcode may get confused and run the old app, which will confuse you since all your changes seem to have no effect.

No comments:

Post a Comment