ios - IAP iOS 抛出错误域=SKErrorDomain 代码=0 "Cannot connect to iTunes Store"

标签 ios objective-c ionic-framework in-app-purchase in-app-billing

IAP 直到昨天都运行良好,现在它显示错误代码:0。

RMStore: transaction failed with product 100 and error Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store" UserInfo={NSLocalizedDescription=Cannot connect to iTunes Store}

“产品标识符”正确,应用加载产品。创建新的沙盒测试用户并在未登录模拟器设备上进行测试。 任何建议都会有所帮助。

最佳答案

在这里找到解决方案: iOS IAP Cannot connect to iTunes Store

Are you testing on a real device or the simulator? You cannot test IAP on the simulator; you must test on a real device – Paulw11 Aug 18 '17 at 3:38

在真实设备上注销并在那里进行测试。

关于ios - IAP iOS 抛出错误域=SKErrorDomain 代码=0 "Cannot connect to iTunes Store",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55531086/

相关文章:

ios - 面部识别是如何内置到 Core ML 视觉框架中的

ios - 将可滚动按钮添加到 ScrollView

ios - 编译 OpenCV 时未找到 <tr1/random>

objective-c - 获取最前面应用程序当前选中的文本

http-status-code-404 - Ionic/Leaflet - 无法获取 Tiles 404 Not Found(从缓存)

javascript - 使用 Ionic React 添加滚动按钮

iphone - UILabel 属性转储

ios - 重建应用程序时推送 token 会改变吗?

ios - XMPP 在 objective-C 中实现 XEP-0198

android - 使用 ionic 框架的语音识别