Incremental builds with Swift Package Manager and Linux / Docker

@Bridger_Maxwell I have run into exactly the same problem — the results of swift package resolve can be cached, but the dependencies will be rebuilt every time. My suspicion is that SwiftPM for some reason considers build artifacts in lower layers stale and thinks that it needs to rebuild them. Did you ever find a solution to this?

1 Like