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: No devices because the active scheme has no targets. An image of the error is below.

Does anyone know the solution to this error?