CloudKit push notification not working on Sonoma

I have an app that uses CloudKit push notification (CKDatabaseSubscription) and it's been working all along on Ventura 13.5/Xcode 15.0.

But since I upgraded my Mac to Sonoma 14.3/Xcode 15.2, my app no longer receives push notification (didReceiveRemoteNotification is not called) on the Mac. Is this a known issue of either Sonoma or Xcode 15.2?

FYI, the same code works perfectly on iOS 17.2.

CloudKit push notification not working on Sonoma
 
 
Q