How do I create a Swift static library for macOS in Xcode 10?

As title, I want to create a pure Swift static library for macOS. Currently, Xcode 10 can create "Swift Cocoa Touch Static Library" for iOS. Is it possible to create a swift static library for macOS?