Hi.
I have a version 1.0 iOS App that is recently release and it has a bunch of in-app purchases. They all worked fine during development, using Test Flight and now in production. Over the last week, I created a tvOS version of this app and all of my in-app purchases are being returned as invalidProductIdentifiers.
I have scoured over possible reasons from the list to check and seems like I not missed anything obvious. I had filed a question with Apple and they basically pointed me to re-read about Universal Purchases
https://developer.apple.com/support/universal-purchase/
My iOS and tvOS app are listed in the same App Record in iTunesConnect. (They have the same bundle id).
All of my in-app purchases are listed as Ready for Sale (iOS version is live).
In Xcode, my app has two targets, the iOS and tvOS. Both share the same bundleID (matching iTunesConnect). The tvOS has the In-App Purchase Capability/entitlement added. The code to generate my list of valid products is shared between the two targets.
When I build and run the iOS version - all products are listed. I even have a new iOS build in development (1.1) that is still showing all my In-App Purchases.
However, for tvOS, my list comes back empty and upon inspection I see them invalidProductIdentifiers array.
I have tested this in both iOS Simulator and actual iPhone/AppleTV's. All on the iOS side work (even the simulator shows my products), but nothing on the tvOS side.
Reading the Universal Purchase line below, while consise, it is not so instructive.
"To make an In-App Purchase available on both platforms, you’ll need to implement the same In-App Purchase in both versions of your app. After you’ve enabled your app for universal purchase in My Apps on iTunes Connect, customers can restore your In-App Purchases on both platforms."
I think by "implement the same In-App Purchase" means both versions of my app are looking for same product identifiers.
Lastly the phrase "enabled your app for universal purchase", make me feel like there is a switch I am not seeing in iTunesConnect.
Has anyone had any luck with using the same iOS in-app purchases and tvOS in-app purchases?
Thanks in advance