Reputation: 4977
We have an internal app which is a sample app for demonstration of In App subscription workflow integration. We have been testing scenarios in Sandbox environment and have been looking ways to be able test actual production environment scenarios with real purchases and real time periods.
We tried releasing the App on the App Store but Apple has rejected it being only a sample demonstration App. Should we be able to test the sample app with production environment scenarios using the Enterprise distribution?
Also, it would be great to know any other way around, at best being able to do it directly through XCode.
P.S: I read somewhere that how the environment is determined is based on the signing certificate used to create the build. Is there a way I can use the distribution signing certificate to sign the build while installing from XCode. Tried that by manually signing the build with distribution certificate but it doesn't install on my device.
Upvotes: 0
Views: 614
Reputation: 114773
Enterprise apps do not support IAP since there is no associated App Store Connect account where you can define the in-app purchase. Also, it would not make sense for an organisation to charge itself or its own employees for app functionality.
You should use TestFlight to test your app in a production-like environment, with production subscription expiration periods;
The only way to have a "full production" experience is with a released app.
Upvotes: 0