Tips in improving compile time on iOS

- 1 min

I 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. Markdowm Image

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.

Some where you can consult their way

  1. https://github.com/fastred/Optimizing-Swift-Build-Times
comments powered by Disqus
rss facebook twitter github youtube mail spotify lastfm instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora