
I'm using a WebRTC package with a relatively large binary artefact (~1GB) and it's being redownloaded in full every time App.xcodeproj/project.pbxproj is touched, e.g. when I merge a branch which added a new file to the project. I wonder if there is a way to stop this and only redownload the package when a new version is released?
I've tried pinning the package to commit ref but it didn't help.
1 Like
I guess I'll copy the package over to disk and embed it manually.
NeoNacho
(Boris Buegling)
3
It sounds like a bug to me that we're re-downloading every time we resolve packages. Separately, I believe we are also considering a per-user cache for artifacts, similar to the repository cache that was introduced in 5.4. Such a cache would certainly limit the impact of the bug you are experiencing.
1 Like

@NeoNacho thank you for the reply! I can create a repo with steps to reproduce the problem if it'd help.