Identify unused code in Swift projects
periphery
$ periphery scan
$ periphery scan --format json
$ periphery scan --project /path/to/Project.xcodeproj