This is absurd but I found that if I launch the app using Xcode (Build & Run), the menu items don't appear. But if I double-click it from the Finder, then it works. This is on macOS 14.