Copy error using exit code 71
I have an iPhone app that ships (vConqr - you have to go and buy it :-)). I am building a project on several different machines including a colleague and it works fine. However, more recently, on my second dev machine, my build fails every time with an 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! (second time I deleted files under / Developer / Library / Xcode). I deleted the original tree and checked out the fresh control source. The error persists.
The Entitlements.plist file has been around for a couple of weeks since I started my last beta. I can't be sure, but I suspect I haven't compiled on my second machine since I added it. However, like my primary dev machine, it all works fine on my colleague, so I'm confused what the difference is.
I have a Google error, but my Google-Fu is a couch or is it not a common error. I have not found any relevant queries.
This is really frustrating, not least because I am using my second machine as a testing / continuous integration machine.
Does anyone come across the same thing, or have any other suggestions?
source to share
I hit this issue and chased it down to a problem with my ruby setup - well not a problem, but anyway
Solved by symlinking to the correct location for my ruby install
sudo ln -s / opt / local / bin / ruby / usr / bin / ruby
Hope this helps someone as it was driving me crazy! Also, maybe not your ruby install, this file just loads the core libraries, so just run the file if it exists to keep track of it.
From here: http://fr.ivolo.us/posts/when-rails-devs-go-iphone
Open copyplist in your favorite text editor and change
#!/usr/bin/ruby
to
#!/usr/local/bin/bash
I had to just use #! / Usr / local / bin / ruby to get it to use my ruby system installation, but I think you could enter any of your Ruby RVM paths as well.
source to share