The amount of Xcode tasks increase after every build
Xcode 10 introduced a new build system, and it's not without bugs. I was able to reproduce the ever-increasing task count the same way you did. That's a lousy bug! release_notes To fix it search "User Header search paths" in build setting, and set it as NO
Rishi Indolia's answer in conjunction with disabling the automatic reloading of views in the storyboard is what did it for me.