title: Xcode 'CodeSign error: code signing is required'
body: <p>I've been working on an iPhone project with iOS 4.0. I just downloaded Xcode 3.2.4 with iOS SDK 4.1 so that I can work with the updated iOS. Upon opening the project in the udpated Xcode, I found that the target read 'Base SDK Missing'. I fixed that by following the instructions <a href="https://stackoverflow.com/questions/3677487/install-xcode-3-2-4-get-base-sdk-missing">here</a>.</p>
  
  <p>Now when I try building targeting any version of iOS, I receive this error (with the corresponding version referenced in the error text):</p>
  
  <blockquote>
    <p>CodeSign Error: code signing is required for product type 'Application' in SDK 'Device - iOS 4.1'</p>
  </blockquote>
  
  <p>I have the Team Provisioning Profile created by Xcode installed, that Provisioning Profile has my certificate, and the Code Signing Entity selected is 'iPhone Developer: Aaron Milam'.</p>
  
  <p>Any ideas as to what I could be missing here?</p>