For future reference, when building a Swift package, use Terminal and move into the directory of the Swift project. In Terminal, type:
swift build
The build should finish with “Build complete!”
For the hcitool project, I then tried to run it with:
.build/x86_64-apple-macosx/debug/hcitool ibeacon
A prerequisite for this stunt is to have Xcode installed if you’re on a Mac. Eventually I want to find out my Mac’s Bluetooth LMP with instructions on this site by using this command:
sudo hcitool info 9C:65:B0:A0:1E:BD
I’m hoping I find an LMP of 8. Maybe I’ll get another chance if this issue is resolved.