title: Unable to do refactoring on my Swift file in Xcode 9
body: <p>I am using <strong>Xcode 9</strong> and I am trying to do <strong>Refactoring</strong> on my <code>Swift</code> based file but every time I am getting below error:</p>
  <blockquote>
  <p>Refactoring engine ranges didn't match initial ranges</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/AOlxD.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AOlxD.png" alt="enter image description here" /></a></p>
  <p>Why isn't it matching the initial range?</p>