By default on Xcode 15 the extensions of the files are hidden, It can be sometimes confusing if you are unaware of them by looking at it as a developer.
If you want them to be visible, you can do that by following the below steps.
- Open Xcode.
- Go to Menu: Xcode -> Settings...
- Now under the General tab you will see File Extension:
- From this dropdown select Show All instead of Hide All
- You can also choose from Show Listed to display extensions only for specific files such as - c, cc, cpp, h, hpp, m, mm, gif, icns, jpeg, jpg, png, tiff, swift
- Close Settings window.

This is not an AI-generated article but is demonstrated by a human on Xcode 15 and M1 Mac running macOS Sonoma 14.0.
Please support independent contributors like Code2care by donating a coffee.
Buy me a coffee!

Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!