OStack程序员社区-中国程序员成长平台

标题: iphone - 应用内购买测试凭证 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-12 15:52
标题: iphone - 应用内购买测试凭证

我们可以在将应用提交到应用商店进行购买后使用测试帐户凭据吗?测试账号凭证的有效期是多久?



Best Answer-推荐答案


不,测试帐户不适用于 AppStore 上的应用。测试帐户仅在沙盒环境中工作。这在 In-App Purchase Programming Guide 中有说明:

When you launch your application from Xcode, Store Kit does not connect to the App Store. Instead, it connects to a special sandbox store environment. The sandbox environment uses the infrastructure of the App Store, but it does not process actual payments. It returns transactions as if payments were processed successfully. The sandbox environment uses special iTunes Connect accounts that are limited to In-App Purchase testing.

在 AppStore 上发布应用后,应用开始指向实时 AppStore(它不会进入沙盒环境)。

关于iphone - 应用内购买测试凭证,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19509882/






欢迎光临 OStack程序员社区-中国程序员成长平台 (https://ostack.cn/) Powered by Discuz! X3.4