How to import Swift macros without using Swift Package Manager

How to compile a Swift macro into a binary and import it into your Xcode project without using Swift Package Manager.