How to force resolve Swift Package in Xcode
Issue #784
Every time I switch git branches, SPM packages seem to be invalidated and Xcode does not fetch again, no matter how many times I reopen. Running xcodebuild -resolvePackageDependencies
does fetch but Xcode does not recognize the resolved packages and still reports missing packages.
The good thing is under menu File -> Swift Packages
there are options to reset and resolve packages