I have an iPhone app that's shipping (vConqr - you should go and buy it :-) ). I build the project on several different machines, including a colleague's, and it's been working fine. However, just recently, on my second dev machine my build fails every time with the error:
/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copyplist Entitlements.plist --outdir /Code/iPhone/VirtualConquest/build/Debug-iphonesimulator/VirtualConquest.app
error: can't exec '/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copyplist' (No such file or directory)
I've reinstalled XCode - twice! (the second time I deleted the files under /Developer/Library/Xcode first). I've deleted my source tree and checked out of source control fresh. The error persists.
The Entitlements.plist file has been there for a couple of weeks, since I started my last beta programme. I can't be sure, but I suspect I had not compiled on my second dev machine since it was added. However, as well as my primary dev machine, it also all builds fine on my colleagues machine, so I'm baffled what the difference can be.
I've Googled for the error, but either my Google-Fu is bunk or this is not a common error - I've found no relevant hits.
This is really frustrating, not least because I use my second machine as a soak test/ continuous integration machine.
Anyone come across the same thing, or have any other suggestions?
I hit this problem and chased it down to a problem with my ruby install - well not really a problem but anyway
Solved it by doing a symlink to the correct place for my ruby install
sudo ln -s /opt/local/bin/ruby /usr/bin/ruby
Hope this helps someone as it drove me insane! Also, may not be your ruby install this file just loads the core libraries so just run the file, if it exists, to track it down