Skip to content

iPhone via Simline for Mac

iPhones don’t let apps send texts in the background. Simline for Mac works around that with the Mac you already have: texts you send through the API, the dashboard or an AI agent go out through the Messages app on your Mac, from your iPhone’s number, and texts your iPhone receives show up in Simline.

  • An iPhone and a Mac with macOS 11 or later, both signed in to Messages with the same Apple Account.
  • Text Message Forwarding on for your Mac. On the iPhone: Settings → Apps → Messages → Text Message Forwarding (iOS 17 and earlier: Settings → Messages → Text Message Forwarding), then turn on your Mac. Without it the Mac can only send iMessages.
  • Node.js 22.13 or later on the Mac (nodejs.org, or brew install node).
  1. In the dashboard open Devices → Pair device → iPhone (with a Mac) and copy the command shown there (it has your code in it).

  2. On the Mac, in Terminal:

    Terminal window
    npx -y https://simline.dev/mac/simline-mac.tgz pair KQ74XM # your code
    npx -y https://simline.dev/mac/simline-mac.tgz doctor # checks everything, says how to fix what's missing
    npx -y https://simline.dev/mac/simline-mac.tgz install # start at login, restart if it stops

    npx comes with Node.js: it downloads Simline for Mac from simline.dev and runs it. simline-mac.tgz is always the newest version; simline-mac-0.1.0.tgz is a given one.

  3. Grant what doctor asks for, once:

    • Full Disk Access (System Settings → Privacy & Security → Full Disk Access) for your terminal app and, for the background service, Node.js. Messages’ database is protected; this is the only way to see incoming texts.
    • Automation → Messages: macOS asks the first time a text is sent; click OK.

Texts go out and come in while the Mac is awake. For around-the-clock use, keep it awake on power (System Settings → Battery → Options → prevent automatic sleeping when the display is off).

Android phone iPhone through a Mac
platform in the device list android macos
SIMs One per slot, from the phone One, slot 0, carrier “iPhone via Mac”, for the iPhone’s number
Channels sms sms, imessage, sms_or_imessage (iMessage only while Messages is signed in to iMessage)
Delivery reports Yes, when the network sends them No. sent is the last status, with finalStatus: true
Last webhook for a good text message.delivered message.sent

Because Messages doesn’t report delivery for text messages, wait on finalStatus, never on delivered. Everything else works as for any phone: from by number, sim_… or dev_…, webhooks, agents, Telegram.

Terminal window
curl https://api.simline.dev/v1/messages \
-H "Authorization: Bearer $SIMLINE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"to": "+14155550123", "body": "See you at 6", "channel": "sms_or_imessage"}'

sms_or_imessage sends a text message first and uses iMessage only if that fails. Inbound iMessages arrive with channel: "imessage", and the AI auto-responder answers them as iMessages.

simline-mac <command> is short for npx -y https://simline.dev/mac/simline-mac.tgz <command>.

Command What it does
simline-mac pair <CODE> Pairs this Mac. The device token goes into your login Keychain.
simline-mac run Runs in this window. Ctrl-C to stop.
simline-mac install / uninstall Starts at login and restarts if it stops. Logs: ~/Library/Logs/Simline/.
simline-mac status Pairing, connection, queue.
simline-mac doctor Checks macOS, Node.js, pairing, permissions, Messages, Text Message Forwarding, the connection and the login item.
simline-mac unpair Removes the pairing, token and queue. Also remove the Mac under Devices.

Install the new version by its number, for example npx -y https://simline.dev/mac/simline-mac-0.2.0.tgz install. The device’s page in the dashboard shows the exact command when an update is available, and Simline for Mac prints it in its log. Name the version: npx keeps using what it downloaded for a URL it has run before, so simline-mac.tgz would install the version you already have. simline.dev/mac/latest.json lists the newest version and its SHA-256.

  • It reads Messages’ database read-only, and forwards only texts that arrive after you pair. Your history, attachments and reactions are never uploaded.
  • Its small local queue drops message text as soon as a text is sent or confirmed. Logs contain ids and statuses, not text or numbers.
  • A text that may already have gone out before a crash is checked in Messages, never sent twice.

Run simline-mac doctor first. Failed texts carry one of these errorCodes: NO_SMS_ACCOUNT, NO_IMESSAGE_ACCOUNT, AUTOMATION_DENIED, INVALID_RECIPIENT, MESSAGES_ERROR_<n>, SEND_TIMEOUT, CHAT_DB_UNAVAILABLE, SIM_DISABLED, EXPIRED. Each is explained in Errors.