Home About Notes

SPM rules

Mar 03, 2023

Sometimes you see a dialog so often you dont look at it. This is what happened with me and the SPM Package rules dialog in Xcode:

Xcode spm config window

In my mind you always needed to specify a version number. But if you look just a bit further down you can see that you can specify branches, or even commit hashes. Super useful for doing integration and see potential changes of your code downstream.