Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

xcode

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.

like image 312
rkb Avatar asked Oct 06 '09 15:10

rkb


2 Answers

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
like image 86
Archie Avatar answered Sep 17 '22 23:09

Archie


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.

like image 42
manicaesar Avatar answered Sep 18 '22 23:09

manicaesar