title: StoreKit Error when restoring in app purchases
body: <p>I am attempting to set up in app purchases, and I am getting the following error</p>
  
  <p>Error Domain=SKErrorDomain Code=0 "The operation couldn't be completed. (SKErrorDomain error 0.)"</p>
  
  <p>I am testing purchases in the sandbox (with test user account)</p>
  
  <p>It only seems to do this on one of my devices though - I am able to restore purchases correctly, without error message on my iPad (iOS 7.0.2), but when I try to use my iPhone (4s iOS 7.0.2) the error message persists. I should also probably note that I am able to purchase in app purchases using my phone with the same iTunes account (so it seems the store is accessible??)</p>
  
  <p>I have had a pretty comprehensive search around SO and google, and have found some very similar error messages but none quite the same, and without success.</p>
  
  <p>Things I have tried;</p>
  
  <ul>
  <li>Restarting the phone Deleting the app - and reloading (several times)</li>
  <li>I am using a test user account set up on itunesconnect</li>
  <li>I have logged out of itunes on my regular account on the phone (under
  "settings/itunes &amp; app store")</li>
  <li>I have logged in using the test user account</li>
  <li>I have created a new test user account and logged in using the new
  account</li>
  <li>I have reset the network settings.</li>
  </ul>
  
  <p>I think there might be more but that's all I can think of at the moment.</p>
  
  <p>I haven't included any code but can if anyone thinks its relevant (although as it works on another device, I'm thinking it must be a setting on my phone).</p>
  
  <hr>
  
  <p>Edit:
  I tried the same app (and the same test user account) on another iPhone 4s (iOS7) which worked correctly (so I ruled out specific phone compatibility).
  The iPhone with the issue is an iPhone I previously had installed the iOS7 betas on - although I have changed it over to the GM version (although restored from a previous backup to keep data etc) so I was wondering if it might be related to this in some way?
  - I did a complete restore - and once again backed up using an iCloud backup - which did not fix the issue...
  however...
  doing a full restore and setting up as a new iPhone DID RESOLVE THE ISSUE!!!
  Then I plugged the phone back into my mac, and restored from a previous backup - and it still works...
  I'm still not certain which aspect of the iOS was causing the issue - but hopefully this might help anyone else facing similar unexplained issues.</p>