user198725878
user198725878

Reputation: 6386

Help on this error "Failing immediately in simulator"

Thanks for stoping by....

i have followed the below link to learn about the In App purchase in iPhone....

http://mobile.tutsplus.com/tutorials/iphone/iphone-sdk-in-app-purchases/

when i run the code on xcode no errors found .

-(void)request:(SKRequest *)request didFailWithError:(NSError *)error  
{  
     NSLog(@"Failed to connect with error: %@", [error localizedDescription]);  
}  

but in the console i get the below error

"SKProductsRequest: 0x5c0ec80>: Failing immediately in simulator"

any help will be much appreciated...

Upvotes: 1

Views: 997

Answers (2)

Mick F
Mick F

Reputation: 7439

You can make work in-app purchase in the simulator. To do so, please refer to the following checklist: http://troybrant.net/blog/2010/01/in-app-purchases-a-full-walkthrough/.

The trickiest part is that you need to upload a binary to make it work. So if you're in the early stage of development, you have to submit a binary, whatever it is, and reject it as soon as its status is "Waiting for review" to prevent it to get to the Store.

Upvotes: 0

Joseph Tura
Joseph Tura

Reputation: 6360

In App purchases don't work in the simulator. Test on a device instead.

Upvotes: 10

Related Questions