title: IAP Works in one project, yet I get Code=0 "Cannot connect to iTunes Store" in another project
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1717700/iphone-in-app-purchase-store-kit-error-1003-cannot-connect-to-itunes-store">iPhone In-App Purchase Store Kit error -1003 “Cannot connect to iTunes Store”</a>  </p>
  </blockquote>
  
  
  
  <p>I have a project in which I am getting the infamous In-App Purchase <code>Code=0 "Cannot connect to iTunes Store"</code> error, which I understand to be a generic error. I've been working on fixing this - going through the zillions of SO questions about this, with absolutely no luck.</p>
  
  <p>I then downloaded am IAP tutorial project from <a href="http://xcodenoobies.blogspot.com/2012/04/implementing-inapp-purchase-in-xcode.html" rel="nofollow noreferrer">here</a> and plugged in my product identifiers, and it worked perfectly! </p>
  
  <p>I copied the code <strong>exactly</strong> from the working tutorial project to my original project, and the original project (now with the new code from the tutorial) still <code>"Cannot connect to iTunes Store"</code>.</p>
  
  <p>Both projects have the same bundle identifiers, and both projects are signed with the same provisioning profile. (And yes, I deleted and cleaned in between deploying each project to my device).</p>
  
  <p>Does anyone have any clue how to debug this? I am at a complete loss here.</p>