Check versions
In Xcode, open About Xcode to check the current version. Compare it with the project README, your team’s requirements, and the target SDK. Check compatibility between the operating system and toolchain, too.
If you need a specific version, first check which versions are installed on the machine, then launch the one that matches. Don’t accept every migration suggestion the first time you open a project.