I'm receiving two errors for app connection to remote notification system

I'm receiving two errors in my app that needs to connect to a remote notification system. WHen it should receive the notification the errors that appear are:

nwprotocolgetquicimageblockinvoke dlopen libquic failed

Received XPC error Connection interrupted for message type 3 kCFNetworkAgentXPCMessageTypePACQuery

Is there a way to fix those? Are they connected to the fact that I'm using the simulator and not a physical device?

The simulator cannot register for, nor receive regular push notifications, but it supports simulating remote push notifications, including background content fetch notifications. If you want to test push notifications in the simulator, follow the following steps:

In Simulator, drag and drop an APNs file onto the target simulator. The file must be a JSON file with a valid Apple Push Notification Service payload, including the “aps” key. It must also contain a top-level “Simulator Target Bundle” with a string value that matches the target application’s bundle identifier.simctl also supports sending simulated push notifications. If the file contains “Simulator Target Bundle” the bundle identifier is not required, otherwise you must provide it as an argument to the following command:

Code Block
xcrun simctl push <device> com.example.my-app ExamplePush.apns


In the above command, the <device> is the identifier string of the simulator device you are using as found in the Xcode Devices and Simulators window.


I'm receiving two errors for app connection to remote notification system
 
 
Q