【问题标题】:iOS7 receipt contains CFBundleVersion instead of CFBundleShortVersionStringiOS7 收据包含 CFBundleVersion 而不是 CFBundleShortVersionString
【发布时间】:2013-10-07 14:01:37
【问题描述】:

我正在尝试使用 iOS7 上新提供的收据将我的付费应用程序转换为免费增值应用程序,并且当我在那里时,我也在进行收据验证。

我有点困惑,因为收据返回的是当前版本和原始版本的 CFBundleVersion,而不是我们应该根据 Apple 验证收据的 CFBundleShortVersionString。

有没有其他人经历过这种情况?我应该通过检查 CFBundleVersion 来允许收据验证成功,还是这是暂时的?

【问题讨论】:

    标签: ios ios7 app-store


    【解决方案1】:

    原来iOS收据不使用原始版本和当前版本的CFBundleShortVersionString,而是CFBundleVersion。详情见here。这与 Mac 收据有所不同,因此任何使用 iOS 的 Mac 收据验证码的人都应该知道这一点。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-10-22
      • 1970-01-01
      相关资源
      最近更新 更多