"Failed to upload *.app on Device " Error in iPhone

I am getting an error while uploading my app on device. It does installs it but not able to upload it.

Also I want to run the instrument tool on device but when I run it shows nothing.

Anyone facing the same issues.


I had this problem after changing around provisioning profiles and app ID's.

What fixed it for me:

  1. Quit XCode
  2. In Terminal.app, navigate to your project directory and execute rm -rf build/
  3. Restart XCode

I also confirm, that I had that issue on Xcode 3.2.5 and iOS 4.2 GM Seed and after adding new provisioning profile.

You do not have to use terminal, you can select *.app from Products Group in 'Groups & Files' pane in Xcode. Then right-click on it, and select 'Reveal in finder'. Then manually delete the build catalogue. And restart Xcode.

Worked for me.