title: Renaming project gives med code signing error
body: <p>I just renamed my project and also in the project.pbxproj renamed my product to the new name. </p>
  
  <p>Now I am getting codesigning error when trying to debug on the phone. How come and how do I fix this? I have defined the profile to the same as on my phone for "debug"-ing. </p>
  
  <p>It works well on the simulator. It didn't work before changing the product name either. I have also cleared the file history. </p>
  
  <p>Inlcuding the log here: </p>
  
  <pre><code>Fri Jul 30 12:51:36 unknown SpringBoard[28] &lt;Warning&gt;: Killing &lt;SBApplication:0x6343510&gt; com.iAndApp.BlockPop  activate:  deactivate:  for app installation
  Fri Jul 30 12:51:37 unknown SpringBoard[28] &lt;Warning&gt;: Reloading and rendering all application icons.
  Fri Jul 30 12:51:42 unknown com.apple.debugserver-48[2630] &lt;Warning&gt;: debugserver-48 for armv6 Copyright (c) 2007-2009 Apple, Inc.  All Rights Reserved.
  Fri Jul 30 12:51:42 unknown com.apple.debugserver-48[2630] &lt;Warning&gt;: Connecting to com.apple.debugserver service...
  Fri Jul 30 12:51:42 unknown kernel[0] &lt;Debug&gt;: lockbot[2617] Builtin profile: debugserver (sandbox)
  Fri Jul 30 12:51:44 unknown SpringBoard[28] &lt;Notice&gt;: MultitouchHID(20af30) uilock state: 1 -&gt; 0
  Fri Jul 30 12:51:44 unknown SpringBoard[28] &lt;Notice&gt;: MultitouchHID(2277a0) device bootloaded
  Fri Jul 30 12:51:45 unknown com.apple.launchd[1] &lt;Warning&gt;: (UIKitApplication:com.iAndApp.BlockPop[0x5ab4]) Spawned and waiting for the debugger to attach before continuing...
  Fri Jul 30 12:51:45 unknown com.apple.launchd[1] &lt;Error&gt;: (UIKitApplication:com.iAndApp.BlockPop[0x5ab4]) posix_spawn("/var/mobile/Applications/CB93DCE9-6063-4486-9E48-E502D748CC3A/BlockPop.app/BlockPopLite", ...): Permission denied
  Fri Jul 30 12:51:45 unknown SpringBoard[28] &lt;Warning&gt;: Unable to obtain a task name port right for pid 2631: (os/kern) failure
  Fri Jul 30 12:51:45 unknown com.apple.launchd[1] &lt;Warning&gt;: (UIKitApplication:com.iAndApp.BlockPop[0x5ab4]) Exited with exit code: 1
  Fri Jul 30 12:51:45 unknown com.apple.launchd[1] &lt;Warning&gt;: (UIKitApplication:com.iAndApp.BlockPop[0x5ab4]) Throttling respawn: Will start in 2147483647 seconds
  Fri Jul 30 12:51:45 unknown SpringBoard[28] &lt;Warning&gt;: Application 'BlockPopLite' exited abnormally with exit status 1
  Fri Jul 30 12:52:15 unknown com.apple.debugserver-48[2630] &lt;Error&gt;: error: failed to lookup the process ID for CFBundleIdentifier com.iAndApp.BlockPop.
  Fri Jul 30 12:52:15 unknown com.apple.debugserver-48[2630] &lt;Warning&gt;: error: failed to launch process (null): unknown error.
  Fri Jul 30 12:52:15 unknown com.apple.debugserver-48[2630] &lt;Warning&gt;: 1 [0a46/1403]: error: ::read ( 6, 0x3809f4, 1024 ) =&gt; -1 err = Bad file descriptor (0x00000009)
  Fri Jul 30 12:52:45 unknown SpringBoard[28] &lt;Notice&gt;: MultitouchHID(20af30) uilock state: 0 -&gt; 1
  </code></pre>
  
  <p>Thanks in advance!</p>
  
  <p>Niklas</p>