Xcode 8.0 Swift 3.0 slow indexing and building

后端 未结 16 2142
天涯浪人
天涯浪人 2020-12-07 17:12

I\'ve installed Xcode 8.0 and converted Swift 2.2 to 3.0 (that process also took a lot of time, I just left my Mac running all night). I have not a big project (about 20 fil

16条回答
  •  不知归路
    2020-12-07 17:39

    After add the setting,

    SWIFT_WHOLE_MODULE_OPTIMIZATION = YES
    

    our project clean-build compile times from 1200s to 180s for 650 swift files. But this will cause increase compile fail. Every change need 180s to compile when increase compile only need 60s

提交回复
热议问题