title: xcodebuild Code Sign error: No matching codesigning identity found:
body: <p>I am currently in process of developing my app and haven't enrolled into App developer program.
  Though have mac, created apple id and developing my app with simulator.
  Question:</p>
  
  <ol>
  <li>Do you need to enroll (pay $99) to use xcodebuild (the commandline tool to build)?</li>
  <li><p>I have created a starter app and was able to build successfully with XCode (IDE) but while building the same with  xcodebuild -target   -sdk iphoneos -configuration debug
  I was getting</p>
  
  <pre><code>Code Sign error: No matching codesigning identity found: No codesigning identities (i.e. certificate and private key pairs) matching “XXXXXX” were found.
  CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.1'*
  </code></pre></li>
  </ol>
  
  <p>And then  I changed "Code signing identity" and updated with "Don't code sign"</p>
  
  <p>Now I am only getting </p>
  
  <pre><code>CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.1'*
  </code></pre>
  
  <p>Any idea how to fix this?</p>