Chapter 6: Testing Notifications With the Simulator

I’ve created a new scheme and followed all the steps, but I never received the notification. Is there anything left? It’s running on a real device. I’ve tried it on both the simulator and a real device, with a focus on the real device.

Another point is that it always displays the following message:
@WKExtensionDelegateAdaptor should only be used within an extension based process”