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.