Building an iOS Device Farm from scratch
summary
A complete open source iOS device farm is built from scratch that runs on macOS and Linux, captures live video by decoding the device AVFoundation H.264 stream into fast JPG frames, and remotely controls input by calling a private xc test function (synthesizeEvent) for low-latency taps. It integrates with Appium/WebDriverAgent, uses libimobiledevice tools and go-ios reverse engineering to deploy apps and run parallel XCUITest sessions, and is already in production use by multiple companies.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 0:17Demo
- 3:13Background
- 4:00Project Background
- 5:49Device Farm Requirements
- 7:22What already exists
- 9:17Detecting devices
- 11:22Screenshots
- 14:50AV Foundation
- 17:26Replay Kit
- 20:02Tap
- 23:09Text Entry
- 26:51Install Apps
- 27:34Run Demand Tests
- 29:31Monitor App Usage
- 30:49Lessons Learned
- 33:04QA
related talks
26mSwift beyond Apple: Making Software for the Physical World
36mOSFCI - Extensible Open-source CI for Firmware with Real Hardware Execution
43mAutomated Testing & Board Farming
51miOS Dual Booting Demystified
10mYour Face in 10 minutes... with Macruby!
37mWorking with custom Android devices
47m50,000 Lines Of Code to Brew a Coffee
34mBuilding an IoT-class Device
