Issue
- Push notifications don't work for me in the iOS Simulator;
- I've heard that newer versions of Xcode Simulator now support push messages, but they don't work for me.
Resolution
Make sure your macOS version, Xcode version, and processor architecture meet Apple requirements.
Simulator now supports remote notifications in iOS 16 when running in macOS 13 on Mac computers with Apple Silicon or T2 processors. Simulator supports the Apple Push Notification Service Sandbox environment. Your server can send a remote notification to your app running in that simulator by connecting to the APNs Sandbox (api.sandbox.push.apple.com). Each simulator generates registration tokens unique to the combination of that simulator and the Mac hardware it’s running on. See User Notifications for more information.
Source: https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes#Simulator
Comments
0 comments
Please sign in to leave a comment.