Alex Rivera | Logout

Xcode Error launching remote program

Asked 2011-07-18T04:26:30.297
17

I've seen this all over the place on stack overflow, but everyone else's solution doesn't work for me. Help! Please!

I'm trying to test my app on my iPhone, it's run perfectly fine up until I updated Xcode and the iOS (I've also been on v4 though). I can't get it to sync the app over at all. I've tried dumping this file/folder, dumping caches, quitting relaunching Xcode, Rebooting the Computer, Restarting the phone, everything I can think of to no avail. Any Ideas?

Error launching remote program: No such file or directory
(/Users/andrew/Library/Developer/Xcode/DerivedData/BTC_Exchange-drzeigaqfnjtatglpppiwxmscsoj/Build/Products/Debug-iphoneos/BTC Exchange.app/BTC Exchange).

And the file does exist, there are no permissions issues from what I can tell and I ran a whole disk permissions check too.

Edit
Report

2 Answers

20

Go here: ~/Library/Developer/Xcode/DerivedData and clear out all the old builds. It'll work again without having to do the project renaming etc.

answered 2012-02-17T08:20:38.923
5

I was having the exact same issue as you. I tried everything you did, and just like you none of those solutions worked for me. Just now I was finally able to get it to work (whew). Here is how I did it:

  1. Rename your project to anything different. Do this in Xcode 4 by slowly double clicking on the project name in the Project Navigator.

  2. Go to your project info.plist. Change the bundle identifier to match the new project name. Also change the bundle name just to be safe...

  3. Do a command-shift-k to clean the project. Then run!

That worked for me. Good luck.

answered 2011-12-21T20:37:08.887

Your Answer