copyplist failed with exit code 71

懵懂的女人 提交于 2019-12-03 22:41:59

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

yeah, I have this from a custom ruby install, a more universal fix is:

sudo ln -s `which ruby` /usr/bin/ruby

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 system install of ruby, but I imagine you could enter any of your RVM ruby paths as well.

That file exists on my machine. Try doing a third clean reinstall of Xcode (after deleting the entire /Developer tree - the Xcode install should re-add that whole thing). Then immediately check to see if that file exists, as it should.

This happened to me but it was related to a corrupt language strings file. I had an extra character in one of the strings (see the example)

x"english string" = "international string";

In my case the problem was much simpler:

I deleted a few Localization.strings files from the SVN and forgot to remove them from the Xcode-project too.

I removed them from the project and now its working.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!