Is there a way to define version numbers for each remote swift package dependency in a shared place? The idea is to use same version of a remote package across multiple local swift packages rather than each local swift package specifying which version it should be using.
This is to avoid an accidental dependency on a wrong version.
One way I think of (didn't try yet) is environment variable but not sure if Xcode Xcode can help with that.
I wouldn't know of a way to do that, but maybe you can just run the same "update script" on all of your local packages. See this Github action for example. This would update all of your dependencies though, but could give you a start.
It would be nice though if such a feature would be supported.