For more context on this issue, I have been running into this every time I attempt to change branches using Git. A band-aid solution to this problem is to:
Quit Xcode and reopen.
In the project packages, select the option to "Resolve Package Versions"
However, I am looking for a more concrete solution to this problem so I don't have to do these actions every time I checkout a new branch.
Thanks.