This CLI to eliminate unused Swift code might be useful.

Watched How to use the Coordinator pattern in iOS and Advanced Coordinators in iOS by Paul Hudson.