- Most sites tell you only two steps avobe, but that's not enough to rename evrything. Since the original project name also exsists in .phxproj file and .xcuserstate file, you cannot modify these files from Xcode.
- To solve the problem, you can use grep command.
$ grep -R "<OriginalName>" .
$ grep -Rl "<OriginalName>" * | xargs sed -i "" "s/<OriginalName>/<NewName>/"
$ find . -name '<OriginalName>*' -print0 | xargs -0 rename -S '<OriginalName>' 'JsBar'
$ ack --literal --files-with-matches '<OriginalName>' | xargs sed -i '' 's/<OriginalName>/<NewName>/g'
$ ack --literal '<OriginalName>'
http://jslim.net/blog/2015/01/08/how-to-rename-xcode-project-thoroughly/
$ grep -R "ProjectName"
causesgrep: warning: recursive search of stdin
error