Hi,
I have the following scenario:
- single repository
- single Xcode project
- many local SPM packages.
- some packages reference each other
- everything is tied together in the Xcode project and built from there into the final app.
Code that is located within the project and in the packages should use the same SPM external dependencies, referenced by URLs. (e.g. NukeUI, DIKit, Firebase etc.)
Some external dependencies can be kept local to a single package. Others can not.
What is the prefered way to centralise this kind of configuration, so I don't have to manually edit package URLs and vesion numbers in all kinds of places?
I understand there is destination.json, but that seems only applicable for compiler flags?
Is it feasible to wrap external dependencies in local proxy packages? This way, my application packages would only depend on the local proxies. Version upgrades of external dependencies would hopefully be limited to the proxy packages. Imports should stay the same.
Is this how everybody else does it?
Are there any other good ways?
Thanks!