Isn’t it built on their iOS application framework that lets you also compile for macOS?
9to5mac writes in a correcting update that “We’ve now learned that the code for the new Music app for macOS will be based on iTunes, not iOS”.
https://9to5mac.com/2019/04/10/macos-10-15-itunes-standalone...