For me, "Reset Package Caches" was not clickable.
What worked instead was:
Go to Xcode
In the General tab, scroll down to Frameworks, Libraries, and Embedded Content.
Find the package(s) mentioned in the error.
Remove them by selecting the item and clicking the minus (-) button.