I have a binary .xcframework
swift package that lives on GitHub. Occasionally after users update the package to a new version Xcode starts spitting out this error when resolving the package graph.
checksum of downloaded artifact of binary target [...] does not match checksum specified by the manifest [...]
Why is this occurring? Is there something that's incorrectly configured in the package?
Clearing SPMs package cache is the only way I know how to mitigate this issue. The package caches lives at:
~/Library/Caches/org.swift.swiftpm/repositories
I usually opt to nuke this whole folder but you can target the specific package instead.
This however is only a temporary solution.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.