Can't seem to figure out how to set the “Based on dependency analysis” setting on a Run Script build phase from an Xcode template (xctemplate). Anyone ever figured this out?

@simonbs SwiftLint does its own analysis to skip unchanged files so you should leave that checkbox unchecked.

Besides if you change your .swiftlint.yml file you probably want to re-lint your Swift files even if they haven’t changed.

@jpsim It was unclear from my original post but that's the thing: I want to uncheck that setting from a xctemplate configuration. I'd like to configure my Xcode template to setup SwiftLint.