These packages are available as a package collection, usable in Xcode or SwiftPM.
:snowman: A Swift wrapper over the Porter Stemmer 2 / libstemmer
1 package.