title: No devices because the active scheme has no targets
body: <p>I have recently changed the name of my project in Xcode, and there seems to be an issue. When I try to select a device/simulator, I get the error: <strong>No devices because the active scheme has no targets</strong>. An image of the error is below.</p>
  
  <p><img src="https://i.stack.imgur.com/7m6kx.png" alt="IMAGE"></p>
  
  <p>Does anyone know the solution to this error?</p>