How texting from your iPhone through a Mac works
iOS doesn't let apps send or read texts in the background, so Simline for Mac uses Messages on your Mac instead. What happens to one text, and what you give up.
Simline sends texts from a phone you already own. On Android, that’s an app on the phone: it gets the texts to send over a live connection and hands them to the phone’s SIM. On an iPhone, the same idea runs into a wall, and the way around it goes through a Mac.
This post explains why iOS needs a Mac, what happens to one text on the way out and on the way in, and what you give up compared with an Android phone.
Why an iPhone app can’t do it
iOS gives apps exactly one way to send a text: a compose sheet, filled in by the app, where you tap Send yourself. That’s fine for a “share by text” button and useless for an API, because nobody is there to tap.
Receiving is stricter still. iOS doesn’t let apps read incoming texts at all, and it pauses apps soon after they leave the screen. An app on your iPhone can’t send on its own, can’t see replies, and can’t stay connected in the background. There is no setting or permission that changes this.
What a Mac can do
A Mac signed in to the same Apple Account has the Messages app, and Messages on a Mac can send real text messages through your iPhone. That’s Text Message Forwarding, a standard iPhone setting: your Mac asks your iPhone to send the text, and it goes out from your iPhone’s number on your carrier plan, just as if you’d typed it on the phone.
Two macOS features make Messages usable from a program:
- Automation. macOS lets an app ask Messages to send a text, once you allow it. That’s the “control Messages” prompt you see the first time.
- The Messages database. Messages keeps your conversations in a database on your Mac. macOS protects it, so reading it takes Full Disk Access. It’s the only place a program can see that a new text arrived, or whether a text it asked for actually went out.
Simline for Mac is a small program that uses those two things. You run it once with your pairing code, and it keeps running in the background on your Mac.
One text, on the way out
Say your app sends a text through the API, to be sent as a text message.
- Simline queues it and answers your app right away, as it does for any phone.
- Your Mac gets it. Simline for Mac holds the same kind of live connection to Simline that the Android app does. Simline writes the text to that connection.
- Your Mac saves it before confirming. Simline for Mac stores the text in a small queue on your Mac, then tells Simline it has it. From here, a crash or a restart doesn’t lose it.
- Messages sends it. Simline for Mac asks Messages to send the text, one at a time and within your workspace’s rate limit. Before it does, it writes down that this text was handed to Messages.
- Simline for Mac watches the outcome. It reads the Messages database until the text shows as sent or as failed. A failure comes back with Messages’ own error code, or a plain one like
NO_SMS_ACCOUNTwhen Text Message Forwarding is off. - The status becomes
sent, and that’s final.
Step 4 is what keeps a text from going out twice. If your Mac restarts in the middle, Simline for Mac sees that the text was already handed to Messages, checks the database for it, and reports what happened. It never sends it again just to be safe.
Why “sent” is the last status
On Android, a text moves from sent to delivered when the carrier’s delivery report comes back. Messages on a Mac doesn’t report delivery for text messages, so Simline has nothing to go on. Rather than guess, Simline stops at sent and marks it final (finalStatus: true). If you use webhooks, message.sent is the last event a good text gets.
That’s the main thing to know if you build on it: wait for finalStatus, not for delivered.
Text message or iMessage
Messages can also send iMessages, so every text from your Mac can pick a channel:
sms: a text message, through your iPhone.imessage: an iMessage, straight from your Mac. Your iPhone doesn’t need to be on.sms_or_imessage: a text message first, and an iMessage if that fails.
Simline for Mac tells Simline it can send iMessages only while Messages on your Mac is signed in to iMessage, and it checks again every few minutes. Incoming iMessages arrive marked as iMessages, and auto-replies answer them the same way.
One text, on the way in
Every two seconds, Simline for Mac looks in the Messages database for texts newer than the last one it saw. Each new text (who sent it, the message, the time) goes to your Simline workspace, and Simline for Mac keeps trying until Simline confirms it. Then it shows up in the dashboard, in webhooks, in Telegram and for your AI agents, like a text to an Android phone.
It only ever looks forward: it starts with the first text that arrives after you pair. Your earlier conversations, attachments and reactions are never uploaded.
What you give up
Running through a Mac has real costs, and it’s better to know them up front:
- Your Mac has to stay awake and signed in to Messages. While it sleeps, texts wait in the queue, and a text that waits too long expires. A desktop Mac, or a laptop on its charger set not to sleep, works best.
- Your iPhone has to be on and connected for text messages, because they still go out through it.
- No delivery reports, as above.
- Setup is in Terminal, with two permissions to grant once. The
doctorcommand checks everything and says how to fix what’s missing.
If keeping a Mac on isn’t practical, a spare Android phone with a SIM does the same job on its own.
Try it
Simline for Mac is available now as one command in Terminal. The iPhone page walks through setup step by step, and the iPhone guide in the docs has every command, error code and troubleshooting step.
FAQ
- Why isn't there a Simline app for iPhone?
- iOS doesn't let an app send a text without you tapping Send, and it doesn't let apps read incoming texts at all. An app on the iPhone can't send or receive texts on its own, so Simline uses your Mac.
- Does my iPhone need to be next to my Mac?
- No, but it needs to be on and connected, because text messages go out through it. iMessages go out from your Mac and only need your Mac.
- Why do my texts never show as delivered?
- Messages on your Mac doesn't report delivery for text messages, so Simline has nothing to show. Sent is the last status, and it is final.
- Does Simline for Mac upload my Messages history?
- No. It reads the Messages database read-only and forwards only texts that arrive after you pair your Mac. Earlier messages, attachments and reactions stay on your Mac.
- What happens when my Mac goes to sleep?
- Texts wait in the queue and the status says so. When your Mac wakes up, Simline for Mac reconnects and sends them, unless they waited too long and expired.