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?
Starting with Xcode 11, Swift packages can now be directly added and imported into an app project using Xcode's new Swift Packages option, which is located within the File menu.
Swift Package Manager (SPM) a tool that you use to manage dependencies in your iOS app projects. A dependency is a 1st- or 3rd-party library, package or framework. For example, you can add Alamofire to your iOS project with SPM.
Xcode 12.5 release notes appear to be referring to ~/Library/Caches/org.swift.swiftpm/
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With