Build Time Analysis

Long build times have plagued Swift projects since the first introduction of the language and there has been little improvement since. An often cited cause is Swift’s type inference, another one the fact that Swift code is first compiled into dylibs which are later linked into the app bundle. And of course there are no pre-compiled […]

Enable Bridging PCH – YMMV!

Compiling in Swift takes ages and Xcode happily compiles everything every time one even looks at the source code funnily. Compiles with Swift typically take around 10 – 20 times as long as their equivalent Obj-C counterparts and we have seen much worse. Projects for iOS tend to fare better than their macOS cousins even with […]