iPhone notifications not appearing on iMac, option sometimes missing from System Settings
After setting up a new iMac, the Notifications section in System Settings did not show the option to Allow notifications from iPhone.
When I type "phone" in the System Settings search bar, the option does appear in the results, and I can turn on iPhone notifications for the iMac's Notification Center. "Allow notifications from iPhone" is then listed among the options for the Notification Center in System Settings and I receive phone notifications on the desktop.
However, as soon as I close System Settings it seems to turn off again. When I reopen System Settings, the iPhone notifications option is again missing from the Notification section, and if I find it by again searching "phone" in the System Settings search bar, "Allow notifications from iPhone" is again off.
Both the iMac (M4) and iPhone (16 Pro) are updated to the latest OS (15.5 and 18.5) and both are signed in to the same iCloud account and on the same wifi network.