These packages are available as a package collection, usable in Xcode or SwiftPM.
Read and write NetCDF files in Swift
1 package.