Backport #27231 #27259 manually --------- Co-authored-by: delvh <dev.lh@web.de>
This PR adds a [Swift](https://www.swift.org/) package registry. 