title: Xcode 4.1 Code Signing Issue
body: <p>I've read through many threads and can't find anything like my issue here. I think that this is a simple fix, but I just can't seem to find the answer.  I'm using Xcode 4.1 Gold Master.</p>
  
  <p>Basically, when I archive my Mac app, it goes through all the normal processes. The build is successful.  However, when I submit to the app store, I get the following message back:</p>
  
  <pre><code>Invalid Code Signing Entitlements - Your application bundle's signature contains code 
  signing entitlements that are not supported on Mac OS X; this may happen if your Mac OS X 
  project was ported from iOS. Please check your Xcode project's code signing entitlements 
  configuration, and remove any unneeded entitlements.
  
  Specifically, key "application-identifier" in "My App" is not supported.
  </code></pre>
  
  <p>My app was not ported from iOS and I have never setup entitlements.  After many hours of digging, I found that the code sign phase was generating an .xcent file in this format:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  &lt;plist version="1.0"&gt;
  &lt;dict&gt;
      &lt;key&gt;application-identifier&lt;/key&gt;
      &lt;string&gt;My.App.Identifier&lt;/string&gt;
      &lt;key&gt;com.apple.application-identifier&lt;/key&gt;
      &lt;string&gt;My.App.Identifier&lt;/string&gt;
  &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>
  
  <p>The first key is the one causing the problem.  When I remove that and force resign the app with the same .xcent file through the command line, then the app goes through.</p>
  
  <p>I've removed and reinstalled xcode to see if that helps...it doesn't.</p>
  
  <p>I know this file creation is tied to the provisioning profile. It seems to be getting the right data, but adding that existing tag.  I've checked both the project and build settings and there are no code signing entitlements at all.  Any idea how I can get Xcode to stop generating this key?  I'm not really fond of doing this every time I want to submit to the app store.</p>