Swift package manager build for iOS

from blog lmno.lol @alvaro, | ↗ original
While playing around with Swift package manager, it wasn't immediately obvious how to build for iOS from the command line. The default behaviour of invoking swift build is to build for the host. In my case, macOS. In any case, this was it: swift build -Xswiftc "-sdk" -Xswiftc...