On Apple macOS Yosemite (or later), Snapcraft 3 can be installed via Homebrew and used to build snaps within the macOS environment.
To install snapcraft, open 'Terminal` and enter the following:
$ brew install snapcraft
When the process completes, the snapcraft command will be installed and ready to go. See Snapcraft overview for help getting started.