Objective-C: Case-sensitive in file names in Xcode 12.5 and above
If your code base still uses Objective-C as of August 2021. You might want to pay extra attention to the file names case-sensitivity. Because the Xcode 12.5 and above and Objective-C compiler will not complain about case-sensitivity and they will point to the files where the case-sensitivity is not matching.
When creating both header (.h) and messages (.m) files I suggest developer to pay extra attention.
For example, I have a file named SYSLoginChecker. For which I created the both header file (.h) as
SYSLoginchecker.h and messages file (.m) as
SYSLoginChecker.m . Xcode and Objective-C compiler will not complain about case-sensitivity not being matched. This case-sensitive in the file name is a easy to miss thing when we are working. It might also not been caught in the code review. Not to blame the code-reviewer as it is easy to be missed. Only during the building of the branch in CI this type case-sensitivity is typical caught. Where the project is being built via Xcode command line.
So please pay extra attention to case-sensitivity in file names.
If you like my articles please follow me. You can also support me by https://www.buymeacoffee.com/akarshseggemu