Sample code demonstrating Learn how to test push notifications on iOS simulators without needing a device or server setup using xcrun simctl push..
This project accompanies the article: Testing Push Notifications on iOS Simulators with xcrun simctl push
- Xcode 26.2+
- iOS 26.0+
- Swift 6.0
- Clone this repository
- Run
xcodegen generate(requires XcodeGen) - Open
TestingPushNotificationsSimulatorSimctl.xcodeproj - Build and run
- App.swift: Source file
- ContentView.swift: Source file
- NotificationEntry.swift: Source file
Read the full article at BleepingSwift for detailed explanations and additional examples.
MIT License - see LICENSE for details.