Find Unused code and variables

How can I find unused code and any other unused objects? I want to use Xcode

Replies

Have a look at the script described here (I did not test): https://stackoverflow.com/questions/69155577/how-can-i-find-all-unused-methods-variables-of-my-project-in-the-xcode