tags:

views:

1880

answers:

2

Hello all,

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.

A: 

I was getting this issue on an iPhone running 3.0 software, but it was working fine on phones running 3.1. The app used to work on the 3.0 software until we added users to the provisioning for the app - this is the only thing I can think of that might have caused it.

If you're running 3.0 still, try upgrading to 3.1 and see if that fixes it.

Mr Christian
+29  A: 

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

What fixed it for me:

  1. Quit XCode
  2. rm -rf build/
  3. Restart XCode
Archie
Another well-deserved upvote from me. Now that I see that, you could probably just go "Build > Clean all Targets" and achieve the same result.
Dan Ray
"Clean All Targets" doesn't fix this error. You definitely have to follow the steps detailed here to get rid of the error.
Nik Reiman
Confirming that, "Clean All Targets" does not fix it.
James Skidmore
I would just note that for beginners, step 2 could be expanded to be: 2a. Start Terminal.app 2b. rm -rf build/ It worked for me but since I didn't know what that terminal command meant, I was unsure if that was all there was to it. It was.
Steve
Archie, that was a painful problem you helped solve. Remind me to never change Bundle Identifiers ever again. Thanks!
John M. P. Knox