title: "The application does not have a valid signature" Xcode 4.3
body: <p>I'm getting the weirdest error today.</p>
  
  <blockquote>
    <p>"The application does not have a valid signature"  </p>
  </blockquote>
  
  <p>I get this error when I try to run the application from Xcode 4.3 on my device.  Also when I archive it shows it as a generic archive instead of a real app.</p>
  
  <p>Of course I deleted all of the invalid profiles, cleaned my derived data, cleaned my target, and restarted.  No luck.</p>
  
  <p><strong>EDIT:</strong> Turns out that I had a folder reference in my app.  I removed all of the references to the folders and made them groups and it worked!</p>