Usage
Commands
mobster phone clipboard
Set the phone’s clipboard from the Mac, or print what it holds.
Commands
mobster phone clipboard set
Put text on the phone’s clipboard: TEXT, a file’s text with --file, or standard input with -. At most 64 KB.
mobster phone clipboard get
Print the phone’s clipboard. WebDriverAgent’s runner comes to the front for a moment to read it (iOS lets only the front app read the clipboard). Only the CLI reads it: no MCP tool does, because it may hold a password.
mobster phone file
Copy files between this Mac and the Documents folder of an iPhone app that shares files (the folder Files shows under On My iPhone). Over the cable only. Nothing else on the phone is reachable, the camera roll included.
Commands
mobster phone file put
Copy a file (up to 100 MB) into an app’s folder on the iPhone. A file with the same name is kept: the copy gets a new name (menu 2.pdf) unless you pass --replace.
mobster phone file get
Copy a file from an app’s folder on the iPhone to this Mac.
mobster phone file ls
Without --app, list the iPhone’s apps whose folders show in Files. With --app, list the files in that app’s folder.
mobster phone photos
Add a photo or video from this Mac to the iPhone’s Photos library (Mobster’s runner saves it; the first time, iOS asks on the iPhone), or copy the newest photos, screenshots and screen recordings from its camera roll to this Mac (over the cable).
Commands
mobster phone photos add
Add JPEGs, HEICs, PNGs, GIFs, WebPs, MOVs or MP4s (up to 4 GB each, 50 at a time) to the iPhone’s Photos library, into the album Mobster unless you name another. Each one is checked by SHA-256 on the iPhone, and the library’s count is read before and after.
mobster phone photos pull
Copy the newest photos, screenshots and screen recordings from the iPhone, newest first, each checked by SHA-256 or size. Over the cable by default; --via wifi reads them through Mobster’s runner, --via tunnel through Apple’s own tunnel (needs pymobiledevice3), --via icloud from this Mac’s Photos library.
mobster phone open
Open a URL or deep link on the phone, such as maps://?q=coffee or App-prefs:WIFI. Links that act as they open (tel:, facetime:, running a shortcut) ask for --yes.
Arguments and options
mobster phone button
Press Home, Volume Up or Volume Down, or lock the screen. Mobster can’t unlock an iPhone: after lock, unlock it yourself.
Arguments and options
mobster phone install
Install a build on a USB iPhone (xcrun devicectl) or a Mobster simulator (xcrun simctl). The build must be signed for that iPhone, and the iPhone needs Developer Mode on.
Arguments and options
mobster phone record
Record a paired iPhone’s screen, and the audio it offers, over USB into a new .mov file, without a WebDriverAgent session. It uses the capture device QuickTime Player records from, so macOS asks once whether Mobster may use the camera and microphone. iOS shows its demonstration status bar while it records, and protected content may not be recorded. It never overwrites a file.
Options
mobster phone network
Create removable iPhone network profiles, inspect this Mac’s connectivity, or capture a USB iPhone’s packets. Profiles need installation in Settings.
Commands
mobster phone network proxy-profile
Write a Wi-Fi profile for one SSID. Apps may ignore HTTP proxies; this does not route cellular traffic or decrypt TLS.
--server and --pac can’t be used together; one is required.
mobster phone network vpn-profile
Write an IKEv2 EAP VPN profile for your provider. This does not create a VPN server. Install the profile and connect in Settings.
mobster phone network relay-profile
Write an Apple network relay profile for an existing compatible HTTP/2 relay service. This is not an ordinary HTTP proxy or a new relay server.
mobster phone network diagnose
Check this Mac’s default route and optional TCP endpoint. With --device, also report USB attachment. This does not test the iPhone’s internet egress, proxy authentication, or installed profiles.
mobster phone network capture
Capture packets through Apple’s Remote Virtual Interface. Requires a paired USB iPhone, Xcode tools and BPF permissions on this Mac. TLS remains encrypted; packet data may contain private information.