As of Xcode 11.4, you can start sending pushnotifications to the simulator using the command, xcrun simctl push <device-identifier> <your-bundle-id> <your_apns_file .
Read moreDoes Firebase notifications work on simulator?
The second approach can be used to send FCM notification but it does not work with the Simulators . It only works with a physical iOS device.
Read moreCan we send push notification to iOS simulator?
Yes, that’s true . I always wondered if I can send a Push Notification on iOS simulator instead getting a real device while developing applications. Simulator supports simulating remote push notifications, including background content fetch notifications.
Read more