These packages are available as a package collection, usable in Xcode or SwiftPM.
A library for reading and writing KML files in Swift
1 package.