title: CODE_SIGN_IDENTITY parameter for xcodebuild (Xcode 4)
body: <p>I'm using <code>xcodebuild</code> utility shipped with Xcode 3 to automate my builds under Hudson. The command looks like it follows:</p>
  
  <pre><code>xcodebuild -project Project.xcodeproj -target Target -configuration Release -sdk iphoneos CODE_SIGN_IDENTITY[sdk=iphoneos*]="iPhone Distribution:XXXXXX"
  </code></pre>
  
  <p>I'm trying to use the same command for Xcode 4 but it seems that <code>xcodebuild</code> just ignores <code>CODE_SIGN_IDENTITY</code> parameter and signs with the provisioning profile which is selected for the target in Xcode. </p>
  
  <p>It's a quite crucial for me since I have to sign build with 3-4 different profiles. It works OK with Xcode 3 but doesn't work with Xcode 4.</p>
  
  <p>Any idea how to solve this problem?</p>