When you create a new file in Xcode, the IDE automatically adds a header comment that includes information like the filename, creation date, and author. By default, the author name is derived from your macOS system's full username. However, you might want to customize this for various reasons - perhaps you're sharing code publicly, working on a team project, or simply prefer a different name format.
This article explains multiple methods to customize the "Created by" author name in Xcode.
When you create a new file in Xcode, you'll see a header comment like this: