Subscriptions are not showing up once IPA got created in iOS In App Purchase StoreKit2

74 views Asked by At

I have implemented In App Purchase using Apple's StoreKit framework. I have created a .storekit file inside Xcode and synced all the subscriptions from App Store Connect. When I do connect my device to Xcode and install the app, it retrieves all the subscriptions and am able to subscribe them as well. but when I do create an IPA and install the app in the same device no subscriptions are listed there and the storekit api returning zero number of products.

let storeProducts = try await Product.products(for: productIdToEmoji.keys)

this is the code to get the products. I have already checked the product identifiers, and the subscription are also in ready to submit stage in App Store Connect. I wonder what is the issue and how to fix them. and I am also assuming that by keeping storekit file in the project and syncing all the plans from App Store Connect should be able to go live as well.

0

There are 0 answers