A simple CLI example using swift-ladybug.
swift build -c release- Copy the built executable to the data directory:
cp ./.build/arm64-apple-macosx/release/swift-ladybug-example .If you are using an Intel Mac or Linux, replace arm64-apple-macosx with your specific architecture accordingly.
- Run the executable:
./swift-ladybug-example