Re: iOS: Cannot connect to iTunes Store

2014-04-11 Thread Markus Spoettl

On 4/11/14, 1:41 AM, Steve Christensen wrote:

I’ve been testing IAP in the sandbox store on a development iPod and just
started getting this error in -paymentQueue:updatedTransactions: with
(transaction.transactionState == SKPaymentTransactionStateFailed):

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

[...]

Does anyone have an idea of what else I should be checking?


I had the same thing for a couple of hours yesterday morning. I then removed all 
incarnations of my app (a lot of different beta builds and an app-store 
downloaded version) from the development machine, restarted the Mac (to make 
absolutely sure storeagent doesn't cache things) and waited for 2 hours.


One of the things solved the issue.

Whenever something unexpected happens, a lot of times I find myself killing 
storeagent and storehelper using the Activity Monitor. That helps sometimes.


Regards
Markus
--
__
Markus Spoettl
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

iOS: Cannot connect to iTunes Store

2014-04-10 Thread Steve Christensen
I’ve been testing IAP in the sandbox store on a development iPod and just 
started getting this error in -paymentQueue:updatedTransactions: with 
(transaction.transactionState == SKPaymentTransactionStateFailed):

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

Note that this had been working just fine until a couple of days ago. The only 
change that I can think of is that I did an upgrade from 7.0.6 to 7.1, but I 
don’t remember if it was before or after the last time I tried this and it 
worked.

In doing some reading, one poster pointed out that one of the reasons for this 
could be that I messed up the test user account so I signed out of the old test 
user in the Settings app, created a new test user in iTunes Connect, then went 
through another purchase cycle. It asked me to log in (which I did with the new 
user) and then presented the purchase confirmation alert with the product name 
and price, and [Environment:Sandbox]. I tapped on the Buy button and then got 
the error above.

Does anyone have an idea of what else I should be checking?

Thanks.
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com