Support our Sponsors:

Go Back   Touch Arcade > Developer Discussion > Public Game Developers Forum

Reply
 
Thread Tools Display Modes
  #1  
Old 02-01-2013, 04:14 AM
willzeng willzeng is offline
Senior Member
iPad 2, iOS 4.x
 
Join Date: Jan 2012
Posts: 207
Default IAP cannot be tested in simulator?

Always "unknown error" when using a test user account. (The account is fresh, never used in Settings.app)

And I cannot test on device either. There's no sand-box environment. The reason may be the app has already in app store (I want to add new iaps), or the device is jailbroken. Can't be sure. Really strange.
Reply With Quote
  #2  
Old 02-01-2013, 02:13 PM
Simengie Simengie is offline
Member
iPad (3rd Gen), iOS 5.x
 
Join Date: May 2012
Posts: 79
Default

Quote:
Originally Posted by willzeng View Post
Always "unknown error" when using a test user account. (The account is fresh, never used in Settings.app)

And I cannot test on device either. There's no sand-box environment. The reason may be the app has already in app store (I want to add new iaps), or the device is jailbroken. Can't be sure. Really strange.
On a non-JB device you do the following. A JB device I am just not sure about it.

First in iTunesConnect set up a test user. Must have a test user to go into the sandboxes for Game Center and iAP. Note: the iAPs need to be added to the app config in iTC and you should have created a new version entry in iTC but gone to "ready to upload binary" state yet.

On the device go into settings for the store and log out of the store. close all your apps that are running and reboot the device. do not log back into the store yet.

Run up the development version of your app with iap's up on the device. Select the iAP and log into when asked to using the the "Test User" you created in iTC.

Your iAP's should work then. If you have issues it could be the JB state of the device intefering with the sandbox. But I am not certain about that as I make it rule to never access the developer tools and sections with a JB device.

Also do not ever use a test user account to access the real app store. It will break the test user account most times. Hope this helps.
Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright 2012, TouchArcade.com, LLC.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Copyright 2008 - 2011, TouchArcade.com. Privacy Policy / DMCA Copyright Agent