Different compile times on Xcode - clang

63 Views Asked by At

When we are archiving our iOS app after cleaning the build folder, total compile time of archive process is 1700-1900 seconds.

After a few mins, still the same codes nothing is changed, and there is no other process on CPU, archiving the same project is cost over 2500 seconds.

Our project contains both Swift and Objective-C codes. When I look in to the compile logs, build times for Swift codes are the same on this two build. But on the other hand, clang processes is different. On the first build each Objective-C file compile time is between 2 and 3 seconds. But on the second build, this times is 14-15 seconds.

Any ideas why clang process different on the same code on different build ?

0

There are 0 best solutions below