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
Post a Comment