Xcode 12.5: SPM Dependency Cache Location

孤人 提交于 2021-02-19 05:58:05

问题


Swift Package Manager got a new feature in Xcode 12.5:

Swift Package Manager caches package dependencies on a per-user basis, which reduces the amount of network traffic and increases performance of dependency resolution for subsequent uses of the same package. If needed, you can disable cache use in xcodebuild by using the new -disablePackageRepositoryCache flag. (72204929)

I would like to know where this is cached. Maybe we can use this to easily cache those dependencies in continuous environments.

I want to know what is the difference of this change to the behavior before since before there was already a cache folder in DerivedData. So what is the new thing here?

来源:https://stackoverflow.com/questions/66143815/xcode-12-5-spm-dependency-cache-location

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!