iPhone automation from your Mac, without code

Updated · iFarm 1.0

iFarm automates real iPhones from a Mac by recording what you do once and replaying it. It records taps, swipes, holds, buttons, typed text and pauses, and replays find each button by the text on screen, so the same automation works on other iPhone sizes. It's free, needs no code and no jailbreak.

How iPhone automation from a Mac works in iFarm

An automation in iFarm is a list of plain steps: tap this text, wait 2–5 seconds, swipe up, type this, go Home. You make one by recording, by editing steps, or by describing it to the AI. Then you run it on one phone, a group or all of them, by hand or on a schedule.

iFarm drives each phone through a small helper app (WebDriverAgent, open source) signed with your own Apple developer team. No jailbreak, no Shortcuts tricks and no code on your side.

Record and replay taps on an iPhone

  1. Open a phone large in iFarm.
  2. Press Record in the Automations box.
  3. Use the phone through iFarm's live screen: tap, swipe, hold, press Home or volume, type.
  4. Press Stop and save. The automation appears under Automations in the sidebar.
  5. Pick checked phones, a group, all phones or one phone, and press Run.

Why replays work on other iPhone sizes

For each tap, iFarm remembers the text on screen under your finger and where you tapped relative to it. On replay it looks for that text, so the button is found on a smaller or larger iPhone even though its position changed. Steps without text fall back to the position on screen.

On replay, each tap:

A failed check is noted in the run's log instead of derailing the run. In test mode (below) every check must pass.

Recording details that save you trouble

Editing steps

Every step can be edited, moved, deleted or added. The step types are:

StepWhat it does
Tap textFinds text on screen and taps it
WaitA fixed time or a random range, like 2–5 s
SwipeSwipes on the screen, for example to scroll
Wait for textWaits until a word appears (a check)
If text is on screenRuns the steps inside only when the text is there
RepeatN times, or for N minutes
Sometimes (50%)Runs the steps inside about half the time
Open appOpens an app by name or bundle ID
Open linkOpens a web address in a new Safari tab, or an app link
TypeTypes text into the focused field
HomeGoes to the Home screen

Text settings let one automation serve many uses. Give it settings such as site or search, and use them in steps as $site. They appear in the automation's Settings box, and also work inside links: https://www.google.com/search?q=$search.

Export… saves an automation as a JSON file that someone else can Import. Built-in templates are read-only; Duplicate makes your own copy.

Built-in templates

iFarm ships with templates you can run straight away or duplicate and change, including:

Community templates add automations other people have shared. They're plain steps, never code, and can't run until you've read them and pressed I've read the steps.

Test mode for app testing

Turn on Test mode in an automation's header to use it as a QA test on real iPhones:

When something gets in the way

Outside test mode, if a popup blocks a step iFarm tries, in order: dismiss a system alert, tap a "Not now / Skip / Close / Cancel" button, go back, go Home and reopen the app, then force-quit and reopen it. If the step still can't be done, the run stops with a screenshot of where it got stuck and the phone is sent Home.

Limits worth knowing

Frequently asked questions

Can I automate an iPhone from a Mac without jailbreaking it?

Yes. iFarm uses WebDriverAgent, Apple's UI-testing route, signed with your own Apple developer team. Phones need iOS 16 or later and Developer Mode on.

Do I need to write code?

No. You record what you do, or edit plain steps. Automations can be exported as JSON to share, but you never have to touch the file.

Will a recording made on one iPhone work on another model?

Usually, yes. Taps are matched by the text on screen rather than by position, so buttons are found on other iPhone sizes. Steps without text use the position on screen.

Can the AI build an automation for me?

Yes. Describe the task on a phone's page, turn on Save as automation in the phone's AI box, and let the AI brain do it once. iFarm saves the steps, and every later run replays them without AI, for free.