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.
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.
Try to clear ~/Library/Developer/Xcode/DerivedData and RESTART Xcode.
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:
Rename your project to anything different. Do this in Xcode 4 by slowly double clicking on the project name in the Project Navigator.
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...
Do a command-shift-k to clean the project. Then run!
That worked for me. Good luck.
Go : ~/Library/Developer/Xcode/DerivedData
Clear user Data
Clean the Project
Quit the xcode(make sure you quite. Look at the picture)
![Quit xCode][1]
For me, doing Product -> Clean then restarting XCode worked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With