ios - IAP iOS Objective c 中的 SKErrorDomain Code=0 "Cannot connect to iTunes Store"

标签 ios iphone in-app-purchase

当我为我的应用程序测试 IAP 时,它抛出以下错误

Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store" 
UserInfo={NSLocalizedDescription=Cannot connect to iTunes Store}

我尝试了很多与此问题相关的链接,但没有任何帮助。 此外,“产品标识符”也是正确的,我也创建了新的沙箱用户,但没有输出。任何帮助都会很棒。

最佳答案

看起来 Apple 的服务器因沙盒环境而宕机。实时购买工作正常!

关于ios - IAP iOS Objective c 中的 SKErrorDomain Code=0 "Cannot connect to iTunes Store",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43114871/

相关文章:

ios - Alamofire 4 的状态码

ios - NumberFormatter 参数标签 '(_:)' 不匹配任何可用的重载

html - 如何在 iOS 中正确更改 ePub(一般 html)中的字体?

ios - 呈现 UIImagePickerController 会导致 iOS 7 崩溃

android - Google应用内结算: Using In-App-Billing Version 3,仍然谷歌提到交易发生在应用内结算版本2中

ios - 重用 'expensive' UIViewController

iphone - CSS 过渡 : Fix a div's right edge position while translating the left edge

iphone - iOS 3.0 类似 NSCache 的类

xcode - 沙盒环境中的 macOS 应用内购买未授权

android - 如果我想消费或确认购买,Google Play 结算库开发人员错误代码 5