When develop the IAP feature follow with the Apple IAP guide , I get a failed case:
- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions
case SKPaymentTransactionStateFailed
with this error:
error Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store" UserInfo=0x1e0edb60 {NSLocalizedDescription=Cannot connect to iTunes Store}
after lots of search, I found the solution in stackoverflow:
引用
had a similar issue, was getting "Cannot connect to iTunes Store" with Code=0. This is how I solved it, after trying every other ritualistic piece of advice found on the Internet from re-downloading my certificates to resetting all my device settings to sacrificing a virgin black goat:
In the target summary for the app, I used to have my version number in the "build" field, but nothing in "version" field. This seemed odd to me, so I moved the version number from "build" to "version". This resulted in the aforementioned error. Moving the version number back to "build" solved the error.
分享到:
相关推荐
iphone iTunes Connect开发者指南(中文版)
A step-by-step overview of what you can do in the iPhone Developer Program Portal and iTunes Connect based on your development team role.
iTunesSetup_12.6_win64 最后一个带AppStore的版本,如果已经安装了最新的版本,卸载后把 C:\Users\用户名\Music 文件夹下的 iTunes目录删除就可以了,亲测win10 可下载应用后,拉到手机上安装,存储安装包必备神器
ituzi手机助手demo源码只是简单的电脑与手机初步建立连接,获取iphone基本信息,其他功能开发中 使用前请检查itunes是否已安装64位版本,我使用的是iTunes 64位_12.12.2.2 不需要iTunesMobileDevice.dll 本程序...
iphone 上的 AppStore
Unity3D Ios支付插件支持iphone64位
iTunes Connect开发者指南6.6的新内容 在您开始之前 材料清单 应用程序二进制文件和小型图标 大型图标 iPhone/iPod touch和iPad程序的屏幕截图 Mac OS X程序的屏幕截图 签署您的合约 翻译您的元数据(可选)...
AppSales允许iOS和Mac App Store开发人员从iPhone上的iTunes Connect下载和分析其销售报告。 ##特征从iTunes Connect自动下载每日和每周销售报告堆叠的条形图可一目了然地查看所有销售在世界地图上显示您的销售按...
Iphone Unlock Took Kit
How to configure your app with iTunes Connect to work with Game Center How to set up leaderboard and achievement systems for use within your app How to add a custom graphical user interface to Game ...
iTunesConnect_DeveloperGuide(中文版发布和管理你的iphone app)
Elven iPhone App Ui kit
群晖搭建局域网内iTunes 影音服务器,使得局域网内家庭共享影音资源。
AppStore掘金iPhone SDK应用程序开发
iphone_app发布到appstore步骤.详细描述了将iphone_app发布到appstore步骤,有截图,是比较详细的文档,希望能给需要的人提供帮助
使用iphone itunes授权账户安装软件
iphone手机烧友必备两件宝:1.iphone手机助手:iTunes for Windows 10.5.3 官方中文版
In App Purchase 教程, 希望对大家有所帮助! 可以配合http://blog.csdn.net/orietech 里面的英文文档一块看,有助于理解! 有疑问在博客里留言给我。