simctl push <device> <bundle identifier> <json file>

Send a simulated push notification

Arguments

NameDescription
device
bundle identifierThe 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 filePath 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