unit testing - Slow test file compilation in Swift 1.2, Xcode 6.3.1 -


i experienced slower compilation of swift unit test files after migrating project xcode 6.2 6.3.1.

my unit test use quick/nimble framework. in each test file have:

import myapp 

the interesting thing when comment out import, compilation lightning fast. tested out on dummy unit test files, in fact don't use of application's code. import makes huge difference compilation time.

i didn't observe big impact when using xcode 6 - 6.2. have ideas how improve compilation speed now?

according 1 of replies in http://devforums.apple.com/message/1128702#1128702 . enabling whole module optimization in build settings makes issue walked around.


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -