title: Not able to install iPhone app with app store distribution profile
body: <p>Developed my first iPhone app for internal use and it should be distributed internally.
  I am able to successfully install it on to the device when I code sign the build with my <strong>developer profile</strong>. But not able to install the same app(.ipa) using iTunes when code sign the build with <strong>App store distribution profile</strong>. I am getting the following error.</p>
  
  <pre><code>    Oct  1 15:52:32 unknown installd[462] &lt;Error&gt;: profile not valid: 0xe8008012
      Oct  1 15:52:32 unknown installd[462] &lt;Error&gt;: 001d7000 install_embedded_profile: Could not install embedded profile: -402620398
      Oct  1 15:52:32 unknown installd[462] &lt;Error&gt;: 001d7000 verify_signer_identity: Could not copy validate signature: -402620395
      Oct  1 15:52:32 unknown installd[462] &lt;Error&gt;: 001d7000 preflight_application_install: Could not verify executable at /var/tmp/install_staging.1JP9zU/foo_extracted/Payload/mi-ios.app
      Oct  1 15:52:32 unknown installd[462] &lt;Error&gt;: 001d7000 install_application: Could not preflight application install
      Oct  1 15:52:32 unknown installd[462] &lt;Error&gt;: 001d7000 handle_install: API failed
      Oct  1 15:52:32 unknown installd[462] &lt;Error&gt;: 001d7000 send_message: failed to send mach message of 71 bytes: 10000003
      Oct  1 15:52:32 unknown installd[462] &lt;Error&gt;: 001d7000 send_error: Could not send error response to client
  </code></pre>
  
  <p>I made sure the distribution profile is valid(have private key and certificate installed on my mac).</p>
  
  <p>I am not sure what i am missing here. I followed every step given at iOS dev center. Any help would be appreciated.</p>