当前收据无效或不匹配的ds person id +包含的图像

时间:2013-04-21 23:16:00

标签: objective-c xcode macos app-store itunesconnect

我正在为我的Mac App设置应用内购买。我目前能够从iTunes Connect获得该产品,甚至可以请求购买。我非常难过这个错误信息,我真的希望有人来过这里,可以提供一些帮助。

我收到了(非常有用的)本地化错误:交易错误:未知错误。

我已经包含了两个成功的Mac App Store身份验证图像和错误消息。我能够弄清楚的是,正在从SKPaymentTransaction调用failedTransaction。

enter image description here enter image description here

1 个答案:

答案 0 :(得分:1)

这就是我的所作所为。存档在Xcode中。然后分发 - > mac安装程序 - >双击.pkg文件&安装。

这似乎下载了_MASReceipt,包含

时一切都很好
if(![[NSFileManager defaultManager] fileExistsAtPath:[[[NSBundle mainBundle] appStoreReceiptURL] path]]) {
        NSLog(@"to get sandbox receipt, the app must be launched from outside xcode");
        exit(173);
    }