使用 Xcode 12 beta 和 swift-tools-version 5.3,您可以链接到一个框架,如下所示:
.binaryTarget(
name: "Stripe",
url: "https://github.com/stripe/stripe-ios/releases/download/v19.3.0/Stripe.xcframework.zip",
checksum: "fe459dd443beee5140018388fd6933e09b8787d5b473ec9c2234d75ff0d968bd"
)
但是当我需要更新校验和时(我错了)我得到了
: artifact of binary target 'Stripe' has changed checksum; this is a potential security risk so the new artifact won't be downloaded
当我需要更改校验和时,如何重置或覆盖它?