peach push
Inject a remote notification by bundle identifier, like simctl push. The simulator applies the app’s notification settings and retains permitted background alerts for the Lock Screen and Notification Center. Payloads may be a JSON file, inline JSON, or stdin with -.
peach push <bundle-id> <payload.json|inline-json|-> [options]Options
| Flag | Description |
|---|---|
--json | emit the delivery receipt as JSON |
--sim <id> | target a specific connected sim |
--port <number> | bridge port (defaults to 7668) |
Examples
peach push com.example.app notification.apns