Testing Firebase push notifications in Xcode simulators

I am trying to use Firebase push notifications in Ionic/Angular capacitor app. When I was using Xcode 11.3 OS Mojave the simulator gave this error

remote notifications are not supported in the simulator


I searched around and discovered that push notifications on simulators were only supported with Xcode 11.4+ and OS Catalina and above. So I updated to Catalina and Xcode 12.1 but I am still getting the same error.
Any input appreciated.