Tips in improving compile time on iOS
- 1 minI feel angry and wasteful with my time while have to wait Xcode finish compiling code.
So I want to solve my issue and found out some amazing way. Usually, I take 5 minutes from scratch to complete the app building. After my customization, it’s only 2 minutes.
Fix all warning appear while building the app
It’s the simple way for you and me when you don’t have any thing about making it shorter.
Build Time Analyzer for Xcode
It’s a good tool for code optimization. We also learn how Xcode compile code faster with clear declaration in closure, function.
Add SWIFT_WHOLE_MODULE_OPTIMIZATION in User Setting
I tried this way with amazing about compile time, decrease from 4 minutes to 2 minutes. I recommend this way to you.