iOS Simulator: Push
ios_simulator_pushDeliver a remote push notification to an installed iOS Simulator app using only a bundle ID and an APNs payload with an aps key—no certificate or server needed.
Instructions
Deliver a push notification, with no APNs certificate and no server. The payload is a normal remote-notification body and must contain an aps key. Only remote pushes are simulated — not VoIP, complications or file-provider. The app must be installed; it does not have to be running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Which simulator: its UDID or its name as shown by ios_simulator_list. Omit it when exactly one is booted — that is the normal case, and IOS_SIMULATOR_ID pins it when it is not. Unlike simctl's own `booted`, this never picks arbitrarily between two. | |
| payload | Yes | The APNs payload, e.g. {"aps":{"alert":{"title":"Watering due","body":"Monstera"},"sound":"default","badge":1}}. Max 4096 bytes. | |
| bundle_id | Yes | The app's bundle identifier, e.g. "io.mgcrea.Canopy". List them with ios_simulator_list_apps. |