According to Section 2.6.2 of RFC 3927, 169.254.255.255 is the broadcast address for the Link-Local prefix.
This does not seem to work in macOS; what I see in WireShark are ARP messages "Who has 169.254.255.255?". Which obviously doesn't work.
I'm on macOS 12.4 / Xcode 13.4. Same code works fine in Linux (Ubuntu 20.04).
Anybody have any ideas?