title: Xcode 4 changing bundle identifier causes Xcode to hang at 'Attaching to'
body: <p>I have currently got a problem that is driving me crazy!</p>
  
  <p>I have an iOS Xcode project and need to change the bundle identifier.
  However when I change it in the info.plist it stops Xcode from attaching to the process in the simulator. It installs the app in the simulator just fine but it just hangs at "Attaching to (App Name)".</p>
  
  <p>I have tried the obvious cleaning, deleting build / derived data folder but nothing seems to work.
  If I change it back to the original identifier it starts working again.</p>
  
  <p>I can reproduce this easily in a fresh project by simply creating a project, run (with original identifier), changing the identifier, clean etc and then run again.</p>
  
  <p>If I change the identifier before running the fresh project everything is fine. But after the first build I get this problem. This seems to me like Xcode is caching something somewhere but I can't think what or where?</p>
  
  <p>I am running Xcode 4.1 on Lion. We had some major issues with 4.2 so I am hesitant to upgrade.</p>
  
  <p>Anyone ever come across this before?</p>