Xcode is optional, though its primacy has meant less adoption of Swift's first party LSP and VS Code extension.