error: Revision e0cfeeeb0c951329c4eabf65ea967384b16dd695 for actionbuilderplugin remoteSourceControl https://github.com/elegantchaos/ActionBuilderPlugin.git version 1.0.3 does not match previously recorded value 5012c06ecaa241ecc171da7320ec1b2fd886e181
This sort of error can occur for legitimate reasons, for example during development, if a tag has been mistakenly attached to the wrong commit and later corrected and force-pushed.
Currently the way to resolve this seems to be to remove the
Package.resolved file and delete the
We could do with a simple way to tell SPM "it's ok, I know what I'm doing and you can ignore it" in these cases.
- a flag like
--disable-security-checkswhich applies to any other command which causes package resolution to run
- some new command like
swift package purge-security-cache
- an enhancement to
swift package purge-cacheto also include these values when purging
(note that "security-checks" probably isn't the right terminology - I just plucked that out of the air)