Workshop: Engineering RemoteXPC: Building Wireless iOS Automation with Appium
In this workshop, ππ°ππ¬ππ’π€ πππ«ππ§π°ππ₯, Member of Technical Staff - Open Source Engineer at TestMu AI, and πππ―π’π§ ππ‘ππ§ππ«π, Open Source Engineer at TestMu AI, cut the cables out of iOS automation. Large-scale iOS testing has traditionally meant keeping devices physically connected over USB, and as device labs grow, cable management, unstable connections, limited observability and host constraints become reliable sources of flaky automation. Learn how RemoteXPC replaces that model with secure network-based communication. Swastik and Navin also run it hands-on: how appium-ios-remotexpc - an open-source implementation of Apple's RemoteXPC protocol - fits into the Appium ecosystem, setting up wireless communication with real iOS devices, the diagnostics, logging and device management services it exposes, and how it is being integrated into the Appium XCUITest Driver. ππ’π π‘π₯π’π π‘ππ¬: 0:00 Workshop Opens - Engineering RemoteXPC for Wireless iOS Automation 1:36 Speaker Intros - Swastik Baranwal and Naveen Chandra, Open Source Engineers, TestMu AI 2:08 Agenda: Why RemoteXPC, Device Lab Constraints, Tunnels, iPhones on Windows 4:13 What RemoteXPC Is and Why It Was Needed 4:44 Life Before iOS 17: usbmuxd, lockdown and a Cable Per Device 6:21 iOS 17 Moved Services Behind CoreXPC and Everything Broke 7:23 Building a Node.js RemoteXPC Client for the Appium Ecosystem 7:54 The XCUITest Driver Auto-Switches Protocol - Your Scripts Don't Change 8:54 An Apache-Licensed Library Exposing 20+ Device Services 9:28 RemoteXPC Works Over USB Too, Not Just Wi-Fi 10:24 Device Lab Constraints: Cables That Wear, Hubs That Saturate 11:57 Host Constraints: A Mac Per Rack and Limited Observability 12:58 The First USB Connection: Pairing and the Trust Prompt 14:01 Why That First Pair Record Is a Security Requirement 15:03 How the Tunnel Works: CoreDeviceProxy, TLS, IPv6 and RSD Ports 16:04 One Tunnel Per Device, Selectable by UDID 16:34 Where RemoteXPC Sits Inside the Appium Stack 17:05 iOS TunTap: The Virtual Wire, and Why It Differs Across OSes 18:09 Going Wireless: Watching the Connection Type Change to Network 19:43 Demo 1: Pair, Trust, Unplug and Start a Wireless Tunnel 20:46 Prerequisites and Cloning the Sample Repo 24:23 Live: Plugging In, Trusting the Computer, Creating the Pair Record 26:59 Starting the Tunnel Over USB for the First Time 29:14 Unplug and Rerun - The Tunnel Starts With No Cable 30:14 The Finder Checkbox You Must Not Miss 31:14 Listing the Services the Device Broadcasts 32:18 Common Wireless Issues and the Built-In Net Check Script 34:21 macOS and Windows Specific Fixes for Rotated IPs 35:25 The 20+ Services: Observe, Control, Apps and Files 36:27 Location Simulation, Condition Inducer and Network Throttling 38:31 Developer Disk Images and Why Core Device Services May Not Appear 40:04 Demo: Simulating a GPS Location Live and Wirelessly 41:35 Diagnostics: Reboot, Sleep, Battery and Device Rotation 43:06 Files and Apps: AFC, House Arrest, Installation Proxy, Zip Conduit 45:10 DVT Instruments: Screenshots, Energy and Condition Inducing 47:41 The Tunnel Registry API and Dynamic Port Mapping 50:16 Live Demos: Location, Screenshot, Battery, App List, Rotate 53:51 Taking a Screenshot Over the Air 57:03 Battery Diagnostics: Cycle Count, Temperature, Charge State 59:40 Listing and Launching Installed Apps 1:04:18 Rotation and the Pasteboard Service 1:08:23 Apple TV Over Wi-Fi Without Any USB Port 1:08:53 The Big One: iPhones on Windows, Wirelessly 1:10:25 Pairing From Windows Using the Apple Devices App 1:11:31 Live Windows Demo: Trust, Unplug, Start the Tunnel 1:15:07 Running Location Simulation and Battery Checks From Windows 1:17:13 XCUITest Driver Integration - No Xcode Required 1:18:44 Limitations: iOS 17.4+, First Pair Over USB, Sudo, Device Lock, Wi-Fi Quality 1:20:16 Key Takeaways: No More Cables, No More Mac Per Rack 1:21:46 Q&A: Reconnecting a Device Without Re-Pairing 1:24:57 Q&A: Collecting Performance Metrics Remotely 1:25:57 Q&A: Packet Fragmentation and Flow Control Across Tunnels Register for TestMuConf 2027: https://www.testmuai.com/testmuconf-2027/?utm_source=youtube&utm_medium=organic&utm_term=&utm_campaign=engineering_remotexpc_wireless_ios_automation_appium #TestMuConf #TestMuAI #Appium #iOSTesting #MobileTesting #OpenSource #TestAutomation #Workshop




Join the discussion
Sign in to join the discussion
Sign in