simctl push <device> <bundle identifier> <json file>
Send a simulated push notification
Arguments
Name | Description |
---|---|
device | |
bundle identifier | The bundle identifier of the target application If the payload file contains a 'Simulator Target Bundle' top-level key this parameter may be omitted. If both are provided this argument will override the value from the payload |
json file | Path to a JSON payload or '-' to read from stdin. The payload must: - Contain an object at the top level. - Contain an 'aps' key with valid Apple Push Notification values. - Be 4096 bytes or less |