iOS In App Purchase:测试真实购买而无需提交给Apple [英] iOS In App Purchase: test a real purchase without submitting to Apple
问题描述
我在我的iOS应用程序中实现了应用程序购买,我希望在将此新版本提交给Apple之前进行真正的测试(不是沙盒)
当然,该应用程序的当前版本(在App Store中) )已使用产品
进行验证因此,我使用Ad Hoc分发配置文件归档了应用程序,并为Ad Hoc部署生成了一个IPA文件。但是当我通过Testflight在我的设备上安装应用程序时,我发现该应用程序处于沙盒环境中!
在将应用程序提交到App Store之前,有没有办法进行真正的购买?
I implemented in app purchase in my iOS app and I want to do a real test (not a sandbox) before submitting this new version to Apple Of course, the current version of the app (in the App Store) was validated with a product So, I archived the app using an Ad Hoc distribution profile and I generated an IPA file for Ad Hoc deployment. But when I installed the app via Testflight on my device, I discovered that the app was in sandbox environment! Is there a way to do a "real" purchase before submitting the app to the App Store ?
推荐答案
你实际上可以测试沙盒环境中的应用程序内购买,基本上你需要在iTunesConnect中设置一个测试用户帐户。
You can actually test the in-app purchasing in the sandbox environment, basically you'll need to set up an test user account in your iTunesConnect.
在这里检查苹果文档:
http://developer.apple.com/library/ ios / #technotes / tn2259 / _index.html
Check the apple documentation here: http://developer.apple.com/library/ios/#technotes/tn2259/_index.html
您将能够找到与应用程序内购买相关的所有信息,包括沙盒测试。
You'll be able to find all the information related to In-App Purchasing, including sandbox testing.
这篇关于iOS In App Purchase:测试真实购买而无需提交给Apple的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!