App X-ray
App X-ray opens an app on your iPhone, taps through every control that opens a screen, and hands back a map: the screens it reached, how they connect, the paywalls it found with their plans and prices, and the numbers for the run. It calls no model, so it costs nothing in model spend and needs no key. It is a task like any other. It waits in line when the iPhone is busy, shows each tap in the run view and ends when you press Stop. In Mobster for Mac, it needs you signed in.Run it
In Mobster for Mac, open Settings › Apps, or Apps in ⌘K. Under Tasks, Map an app, screen by screen has a Map an app button. It lists the apps on your iPhone. The app you pick starts the map. In Terminal:Mapped <n> screens of <app>, <n> taps deep, in <time>, with no model., then the paths of map.json and report.html.
Exit codes: 0 mapped, 1 stopped or mapped nothing, 2 usage, 3 couldn’t run (no phone, Mobster for Mac signed out, app not found, or an app X-ray doesn’t map), 130
ctrl+c.
What you get
The result is a finished task with three cards:- Screens: a gallery of the screens it reached, each with its name. At most 60.
- Paywall plans: a table with the screen, plan, price, period and trial of every plan it read on a paywall. Left out when it found no paywall.
- How it went: the screens, links, taps, time, why it stopped, how many controls it left alone, and where the files are.
~/Library/Application Support/app.mobster.desktop/xray/apps/<bundle ID>/<date>-<time>/, a folder only you can open:
What it taps and what it leaves alone
It fails closed. It taps a control only when its shape says it opens a screen (a row in a list, a tab, a link with a chevron, a tall card or a full-width row of data) and its words name no act. It leaves alone:- anything that names an act: delete, sign out, send, post, buy, subscribe, start a trial, allow, any act Mobster asks before, such as Upvote, Retweet, RSVP, Bet, Lock card and Bookmark (Approvals and safety), and any change, such as Rename, Move and Duplicate. Act words count only at the start of a label, and a word that is also a noun, such as Going, Quote or Star, only as the whole label, so “Like” and “Update Now” aren’t tapped;
- a one- or two-word button narrower than its row, such as a post’s vote or heart, a timer’s Pause, or Light and Dark in Settings › Display & Brightness, whatever its words. App X-ray taps the row instead;
- a row with its own info button, where tapping the row joins or connects;
- switches, sliders, pickers, text fields, a row that holds a switch, and a label drawn on a switch, such as True Tone in Settings, where the switch spans the row;
- everything on a paywall: it reads the plans and backs out;
- a system dialog, except one it can close with “Not Now”, “Cancel” or “Close”. When only you can answer, it stops and says so;
- a tap that changed the screen in place. It leaves the rest of that screen alone, in case it set something.
Compare two maps
Run it again after an update, then compare:map.json or the folder that holds it. It needs no phone and prints what changed:
--json prints the comparison as JSON.
Start it from a script
POST /api/xray/app starts the same task:
appId is required. It answers 201 {"runId": "..."}. The run’s events and result come from the task API, like any task. The same phone rules apply: it queues when the phone is held, and in Mobster for Mac the plan check applies first. It answers 422 for an app X-ray doesn’t map and 400 for an app that isn’t on the phone. A request with the same key returns the same run.
Network X-ray
Open the Devices page and press Network X-ray on a phone’s card. The recorder opens under your phones, on the same page. Choose 30 s, 60 s or 2 min (60 s is the default), press Record and use the apps you want to look at. The apps and the companies they talk to, with their logos, fill in as they appear. When it ends, Open the report opens it as a finished task. From a terminal:Recording <phone> over the cable for 60 s. Use the apps you want to look at. ctrl+c stops early. When it ends, it prints one line per app that used the network, In <time> <app> contacted <n> domains at <n> companies; <n> of them are ads, analytics or attribution., then Report: and the report’s path.
Each line counts domains Mobster saw in that app’s traffic and groups them by the company that runs them. It also counts domains on the list of ad, analytics and attribution services. A domain on no line gets its own name as its company and no category.
What you get
They are in the data folder under
xray/network/<YYYYmmdd-HHMMSS>/, readable only by you. In Mobster for Mac the result also shows as a task with two tables, Who your apps talked to (an app, a company with its logo, what it does, domains, KB sent and received) and Every domain, and a note on what Mobster read and what it couldn’t see. You can sort, filter and export them like any result.
Which apps and which phone
Mobster reads the phone’s app list and matches each process in the capture to an app by its executable name. A match shows as the app’s name on your phone. Some processes are parts of iOS itself, such asnsurlsessiond or mDNSResponder. Mobster labels those iOS and lists the process name in the details. A name it can’t match shows as that name and says it is a process. When iOS does a lookup or a download for an app, the traffic counts for the app.
When the capture has no process name for a packet or a connection, Mobster doesn’t guess. That traffic goes to a line called Unattributed with its bytes and a sentence: “Mobster couldn’t tell which app sent this traffic, so it isn’t counted for any app.”
Mobster records one phone, the one you name with --device (its id, UDID or name, as in Several phones). With no name, it uses the one iPhone that is connected. With two or more connected and no name, it stops and lists them. It refuses simulators, because only a real iPhone has the capture service.
The cable
Network X-ray records over the cable: iOS offers its packet capture service only on a USB connection. When the phone you pick is on Wi-Fi only, Mobster says so and asks you to plug it in. The capture travels over the cable, so it adds nothing to the phone’s own network traffic.Options
ctrl+c ends the recording early and still writes the report. Exit codes: 0 done, 1 the capture failed, 2 usage, 3 couldn’t run (no such iPhone, a simulator, no capture tool). In Mobster for Mac, recording a phone needs you signed in, like any task on a phone (What needs a sign-in).
--from reads a pcapng that records the process behind each packet: one mobster-pcap wrote, or one macOS tcpdump -P wrote on a rvi0 interface. A classic .pcap has no place for the process, so Mobster refuses it and says so.
Start it from another program
Mobster for Mac starts a capture withPOST /api/xray/network and reads it with GET /api/xray/network/{jobId}. Only its own session can: an API token alone can’t record your phone’s traffic, and the capture is not an agent or MCP tool.
What leaves your Mac
Nothing. The capture, the report files and the report’s task stay on this Mac. Mobster makes no share link of the task, sends it to no destination and leaves it out of a feedback report. The local task API (GET /api/runs) shows it only to Mobster for Mac, so an agent over MCP or Mobster Remote can’t read it. Privacy lists what Mobster reads and keeps.
What Network X-ray doesn’t see
- Names sent through encrypted DNS appear only when the connection itself names the server.
- iCloud Private Relay hides the real servers behind Apple’s relay.
- Encrypted Client Hello hides the server’s name in the handshake. Mobster counts those connections without a name.
- It decrypts nothing, so it shows who an app contacted and how much, never what it sent.