使用iTunes测试用户时的预期顺序 [英] Expected sequence when using iTunes test user

查看:114
本文介绍了使用iTunes测试用户时的预期顺序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我们的应用中测试应用内购买,但我没有运气。部分问题可能是由于预期的顺序没有记录在任何地方。以下是我支持应用内购买的步骤:

I'm trying to test in app purchases in our app but I'm not having any luck. Part of the problem may be due to the expected sequence not being documented anywhere. Here are the steps I followed to support in-app purchases:


  1. 在iTunes Connect中创建测试用户。

  2. 退出设备上的商店。

  3. 使用非通配符App ID和针对设备的配置文件(运行iOS 4.2的iPhone 4)在Xcode中构建并运行应用程序0.1)。我已经通过这个大楼进行调试和临时发布。

  4. 进行应用内购买。

  5. 显示警告:使用两个按钮确认您的In AppPurchase - 取消和购买。点击购买按钮。

  6. 显示警报:登录,包含三个按钮 - 使用现有Apple ID,创建新Apple ID和取消。点击使用现有Apple ID按钮。

  7. 显示警报:Apple ID密码,带有两个文本字段和两个按钮 - 取消和确定。输入测试用户的电子邮件地址和密码,然后点击确定按钮。

  1. Create test user in iTunes Connect.
  2. Log out of the Store on the device.
  3. Build and run the app in Xcode using a non-wildcard App ID and provisioning profile targeting the device (an iPhone 4 running iOS 4.2.1). I've run through this building for both debug and ad-hoc release.
  4. Make an in-app purchase.
  5. Alert is displayed: "Confirm Your In AppPurchase" with two buttons - Cancel and Buy. Tap the Buy button.
  6. Alert is displayed: "Sign In" with three buttons - Use Existing Apple ID, Create New Apple ID, and Cancel. Tap the Use Existing Apple ID button.
  7. Alert is displayed: "Apple ID Password" with two text fields and two buttons - Cancel and OK. Enter the email address and password for the test user and tap the OK button.

这是我对预期行为的理解缺乏。以下是我在此处看到的内容:

Here is where my understanding of what is the expected behavior is deficient. Here is what I see at this point:


  1. 显示警告:此Apple ID尚未在iTunes Store中使用。检查使用两个按钮登录 - 取消和查看。在所有文档,博客文章和论坛中,没有人提到此警报。这应该显示吗?我点击了审核按钮。

  2. 我现在被带到App Store应用程序并通过一系列步骤来确认帐户。

  3. 第一页标题为确认您的国家或地区,其中一个标题为存储设置为美国。我点击了底部工具栏上的下一步按钮。

  4. 第二页是同意条款和条件以及Apple隐私政策。我点击了底部工具栏上的同意按钮。

  5. 显示警告:我已阅读并同意iTunes Store条款和条件。有两个按钮 - 取消和同意。我点击了同意。

  6. 第三页是确认帐户信息(电子邮件,密码,安全问题,出生日期)并启用/禁用iTunes商店订阅信息。它需要我进入年份(为什么iTunes Connect没有问我这个!)。我进入了出生年份,然后点击了底部工具栏上的下一步按钮。

  7. 第四页请求标题为结算信息。这是我意识到出错的时候。所有的文档,博客和论坛都说我不应该要求我提供信用卡。

  1. Alert is displayed: "This Apple ID has not yet been used in the iTunes Store. Tap Review to sign in" with two buttons - Cancel and Review. In all the documentation, blog posts, and forums, no one has mentioned this alert. Is this supposed to be displayed? I tapped the Review button.
  2. I am now taken to the App Store app and taken through a series of steps to confirm the account.
  3. The first page is titled "Confirm Your Country or Region" with a single value titled Store set to United States. I tapped the Next button on the toolbar at the bottom.
  4. The second page is to agree to the terms and conditions and the Apple privacy policy. I tapped the Agree button on the toolbar at the bottom.
  5. Alert is displayed: "I have read and agree to the iTunes Store Terms & Conditions." with two buttons - Cancel and Agree. I tapped Agree.
  6. The third page is to confirm information for the account (email, password, security question, birth date) and enable/disable iTunes store subscription information. It requires me to enter the year (why didn't iTunes Connect just ask me for it!). I entered the birth year and then tapped the Next button on the toolbar at the bottom.
  7. he fourth page asks is titled "Billing Information." This is when I realized something was wrong. All the documentation, blogs, and forums say I shouldn't be asked for a credit card.

Q1:我究竟应该期待什么一旦我输入测试用户的电子邮件地址和密码(第一组步骤)?

Q1: What exactly should I expect once I enter the test user email address and password (the first set of steps)?

Q2:为什么我被要求为测试用户提供所有这些额外信息?我应该注意什么来解决这个问题?

Q2: Why am I being asked for all this extra information for a test user? What should I be looking at to troubleshoot this?

感谢您的帮助。

推荐答案

当你安装从App Store下载的开发应用程序时会发生这种情况。
要解决此问题,您需要从设备中删除应用程序并使用XCode安装新副本。
iOS以某种方式缓存分发配置文件,如果第一次安装是通过App Store完成的,则需要生产用户。不考虑最近使用的安装方法。

It happens when you install your development application over downloaded from App Store. To fix this issue, you need to remove application from the device and install fresh copy using XCode. iOS caches distribution profile somehow and requires production user if the first installation was done through App Store. With no regard what installation method was used recently.

这篇关于使用iTunes测试用户时的预期顺序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆