title: Per configuration app group entitlement strings in Xcode?
body: <p>Is there an easy way to have per-configuration app group entitlement strings in Xcode projects?</p>
  
  <p>We're trying to share settings between an iOS application and today extension using an "app group" entitlement in both the targets. </p>
  
  <p>The problem we're having is that we build the application with different bundle and team ids depending on whether it's an enterprise or a release build.</p>
  
  <p>When I use Xcode 6's Capabilities screen, the app groups show up in red lettering and I don't see a way to change the strings for each configuration individually. </p>
  
  <p>I assume one of the following will work, but I don't know which I should try first:</p>
  
  <ol>
  <li>.xcconfig files</li>
  <li>Manually created entitlement files</li>
  <li>Build script</li>
  <li>Configuration-dependent plist entries</li>
  </ol>
  
  <p>Suggestions?</p>