title: iOS/Xcode: Concurrent builds for Debug, Ad Hoc, and Release *w/ In-App Purchases*
body: <p>I've followed <a href="http://swwritings.com/post/2013-05-20-concurrent-debug-beta-app-store-builds">this tutorial</a> to allow for my app to have builds for <code>DEBUG</code>, <code>ADHOC</code> testing (for my beta users), and <code>RELEASE</code>. Everything works great <em>except</em> for my in-app purchases.</p>
  
  <p>My <code>Bundle ID</code>s after this setup are:</p>
  
  <ul>
  <li>Debug: <code>com.mycompany.myproduct.debug</code></li>
  <li>Ad Hoc: <code>com.mycompany.myproduct.adhoc</code></li>
  <li>Release: <code>com.mycompany.myproduct</code></li>
  </ul>
  
  <p>(The <code>RELEASE</code> ID is the same as it was before this new setup.</p>
  
  <p>Since this method changes the <code>Bundle ID</code> based on the build and since In-App Purchases are tied to a specific <code>Bundle ID</code> when I run my app as <code>DEBUG</code> or <code>ADHOC</code> my product identifiers come back as invalid when I call <code>requestProductsWithCompletionHandler</code>.</p>
  
  <p>I have tried adding new In-App Purchase products prefaced with the new <code>Bundle ID</code> like so: <code>com.mycompany.myproduct.debug.iapname</code>, but since the In-App Purchases are tied to a single Bundle ID this doesn't work.</p>
  
  <p><strong>My question is this:</strong> In order to accomplish what I'm trying to accomplish, do I have to create 2 new apps in iTunes Connect for each of my new Bundle IDs and then add In-App Purchase products to each of those for each Build Configuration? Or, is there another way to accomplish what I'm trying to accomplish?</p>