title: Cordova build release cli
body: <p>As per Cordova documentation, why are the using iPhone Developer as codeSignIdentity for both debug and release? Is this correct or bug in documentation?</p>
  
  <p>What I want is generate a .ipa file using CLI, that I can submit to iTunes Connect for distribution.</p>
  
  <p>Ref: <a href="https://cordova.apache.org/docs/en/latest/guide/platforms/ios/" rel="nofollow noreferrer">https://cordova.apache.org/docs/en/latest/guide/platforms/ios/</a></p>
  
  <pre><code>{
  "ios": {
      "debug": {
          "codeSignIdentity": "iPhone Developer",
          "developmentTeam": "FG35JLLMXX4A",
          "packageType": "development",
          "buildFlag": [
              "EMBEDDED_CONTENT_CONTAINS_SWIFT = YES",
              "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO",
              "LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
          ]
      },
      "release": {
          "codeSignIdentity": "iPhone Developer",
          "developmentTeam": "FG35JLLMXX4A",
          "packageType": "app-store",
          "buildFlag": [
              "EMBEDDED_CONTENT_CONTAINS_SWIFT = YES",
              "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO",
              "LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
          ]
      }
  }
  </code></pre>
  
  <p>}</p>
  
  <p>My build.json looks like this</p>
  
  <pre><code>{
      "ios": {
          "debug": {
              "codeSignIdentity": "iPhone Developer",
              "packageType": "development",
              "developmentTeam": "MY-DEV-TEAM-ID"
          },
          "release": {
              "codeSignIdentity": "iPhone Developer",
              "packageType": "app-store",
              "developmentTeam": "MY-DIST-TEAM-ID"
          }
      }
  }
  </code></pre>
  
  <p>And I am using this command to do a build:</p>
  
  <pre><code>cordova build ios --device --release
  </code></pre>
  
  <p>Where will that distribution ready .ipa file get generated?</p>