Weird, #Xcode uses the wrong .editorconfig file a lot. There's one in the project root, and the editorconfig CLI tool shows the correct settings for that file path, but Xcode still uses my user settings
@ctietze Definitely worth a bug report. Is Xcode using some settings from the .editorconfig file, or none of them? If you can attach the file to the feedback, that might really help figure out why it isn't working.

@dewing I only use the indentation setting, I don't know.

It's an old Xcode project opened with a more recent version. Could be some precedence problem. Setting the project indentation in the Xcode project itself works fine.