That sounds a lot like the P2P file sharing companies' argument that didn't hold up in court: https://en.wikipedia.org/wiki/MGM_Studios,_Inc._v._Grokster,....
I believe that reverse engineering for the purpose of interop is different and has been found to be fair use by the courts.
They could take it the other way and start suspending accounts that use a spoofed device id. For me that's my main hesitation, I don't want to have my apple accounts suspended for violation of ToS.
But as part of developing the application? Can they realistically do that without violating ToS?
Someone said they are embedding Apple binaries for crypto stuff. Clear copyright infringement if so.
They might argue that this is like the inclusion of the Gameboy logo to boot a Gameboy game.
They’re publishing client software, which is protected expression provided it’s original and doesn’t infringe any trademarks or copyrights.
The end users are the ones potentially violating the ToS by connecting to Apple APIs.
Apple has no basis to tell Beeper to cease and desist from the publication of software that it is legal to publish.