Objective-C method name clashes on iOS categories

Hello there, I am a user of Sonarqube 9.6.1 (latest version as of today) together with the latest scanner (4.7).
We recently had an incident involving a method name defined on a category that was clashing with a private method declaration which was part of the iOS SDK (see Technical Q&A QA1908: Finding and Fixing Category Method Name Clashes for extra information about the potential issue, the resulting unpredictable behaviour and the mitigation/best practice that Apple suggests).

This non-compliance to Apple’s best practices was unfortunately not flagged by Sonarqube, is there any existing rule or any plan to add one that can flag this potential risk/non-compliance? In alternative, does anyone have a custom rule implemented that could achieve the same?

Hey there.

I’ve moved your post to the category on suggesting new rules.

It would be great if you could include a sample of code you would expect to violate such a rule and raise an issue.

Check the link, there’s examples there

Colin, any update on this?