Xcode 8 very slow Swift compiling

后端 未结 8 1489
太阳男子
太阳男子 2020-12-12 13:54

Ever since Swift 3 and Xcode 8 my project compiles quite slowly. Every time I add so much as an empty line to a file, recompiling takes a full minute. When I check the outpu

8条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-12 14:30

    This is an issue with Xcode 8 where it does not perform incremental builds correctly. If you edit a single swift file it should compile only that file only. This has already been raised here: Xcode 8 does full project rebuild

    The 4 files at a time build sounds like Xcode is performing a full rebuild of the project which should not happen again if you only modified a single line in one file.

提交回复
热议问题