Better Programming

Advice for programmers.

Follow publication

Member-only story

How To Boost Xcode’s Compile Time and Runtime

Enhance your iOS development by improving your build speed

Iftekhar Qurashi
Better Programming
Published in
10 min readMay 26, 2021

--

Old-school chronometer
Photo by Veri Ivanova on Unsplash.

Ever wondered how many times you compile or run a project? Yes, it's a big number. If you make it a little faster, that will save a significant amount of time. In this article, I’ve prepared some straightforward pointers to help you do just that.

Project Settings

1. Make sure to use a new build system

Go to “File” -> “Menu” -> “Workspace Settings” (or “Project Settings” if you are not using a Workspace).

Selecting “New Build System”

2. Build the active architecture only

  • Navigate to “Build Active Architecture Only” in your project’s build settings.
  • Ensure that you set “Debug” to “Yes” and “Release” to “No.”

3. Excluded Architectures

--

--

Responses (4)

Write a response