[ Documentation ]

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 -.

terminal
peach push <bundle-id> <payload.json|inline-json|-> [options]

Options

flagdescription
--jsonemit the delivery receipt as JSON
--sim <id>target a specific connected sim
--port <number>bridge port (defaults to 7668)

Examples

terminal
peach push com.example.app notification.apns