GitHub - RobertGummesson/BuildTimeAnalyzer-for-Xcode: Build Time Analyzer for Swift
Build Time Analyzer is a macOS app that shows you a break down of Swift build times. See this post and this post on Medium for context. Open up the app and follow the instructions. Download the code and open it in Xcode, archive the project and export the build.