title: App for Mac App Store doesn't run when signed
body: <p>I'm new to development for Mac App Store and I'm trying to test my first signed app in development environment (just before get into the mess of receipt validation  !).</p>
  
  <p>I went through the following steps:</p>
  
  <p>1) I created 3 certificates</p>
  
  <ul>
  <li>a) Mac App    </li>
  <li>b) Mac Installer    </li>
  <li>c) Development (If I don't create this certificate, I can't create the development provisioning profile at next point 4)</li>
  </ul>
  
  <p>2) I created an App ID</p>
  
  <p>3) I registered my systems</p>
  
  <p>4) I created Development Provisioning Profile</p>
  
  <p>5) I installed the profile on my iMac</p>
  
  <p>6) I loaded the profile into Xcode</p>
  
  <p>7) I set the Code Sign Identity of my project to:  Mac Developer (corresponding to the Development Certificate created at point 1.c) </p>
  
  <p>8) I set the Code Sign Identity of my target to: Mac Developer  (corresponding to the Development Certificate created at point 1.c) </p>
  
  <p>9) I built for running</p>
  
  <p>10) I located the app in finder and clicked on it</p>
  
  <p>11) The icon bounces some times and then the app quits</p>
  
  <p>12) The console shows the following messages</p>
  
  <pre><code>Sep 17 10:07:41 Fabrizio-Bocos-iMac taskgated-helper[3186]: Starting taskgated-helper
  Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny file-read-metadata /private/var/db/DetachedSignatures
  Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny file-read-data /private/var/db/DetachedSignatures
  Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny file-read-data /Library/Keychains/System.keychain
  Sep 17 10:07:42: --- last message repeated 1 time ---
  Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny mach-lookup com.apple.ocspd
  Sep 17 10:07:42: --- last message repeated 3 times ---
  Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny file-read-data /Library/Keychains/System.keychain
  Sep 17 10:07:42: --- last message repeated 3 times ---
  Sep 17 10:07:42 Fabrizio-Bocos-iMac com.apple.launchd.peruser.501[218] ([0x0-0xe80e8].fabrizio.boco.circuitlab[3183]): Exited: Killed: 9
  Sep 17 10:07:42 Fabrizio-Bocos-iMac sandboxd[3187] ([3186]): taskgated-helper(3186) deny file-read-data /Library/Keychains/System.keychain
  </code></pre>
  
  <p>I have googled the messages without a definitive answer.</p>
  
  <p>I have tried the same procedure on a different system (both with Lion 10.7.1 and Xcode 4.1) with the same results</p>
  
  <p>I have deleted and recreated the certificates and the development profile, same result.</p>
  
  <p>Can anyone provide any help ?</p>
  
  <p>Thank you very much in advance.</p>