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

iphone, xcode

Solution

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

What fixed it for me:

- Quit XCode

- In Terminal.app, navigate to your project directory and execute `rm -rf build/`

- Restart XCode

Problem

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.

Original source