title: How do I completely rename an Xcode project (i.e. inclusive of folders)?
body: <p>I have a project named <code>XXX</code>. I want to rename this project to <code>YYY</code>.</p>
  <p>Note that <code>XXX</code> is an extremely common term (for e.g. &quot;data&quot;, or simply &quot;project&quot;), and thus a simple RegEx search-and-replace is not possible, out of risk of corrupting the project configuration files.</p>
  <p>My current project directory contains the following items:</p>
  <ul>
  <li><code>XXX</code></li>
  <li><code>XXXTests</code></li>
  <li><code>XXX.xcodeproj</code></li>
  </ul>
  <p>and I want to rename them to:</p>
  <ul>
  <li><code>YYY</code></li>
  <li><code>YYYTests</code></li>
  <li><code>YYY.xcodeproj</code></li>
  </ul>
  <p>... respectively, with the necessary changes being reflected in my project file.</p>
  <p>How can I accomplish this without having to manually create and populate a new project?</p>