iPhone on Linux
Apple's own iOS 14, running headless on an ARM Linux server. Apps built on Linux install as real IPAs. An agent drives the phone, and every tap leaves evidence.
- Apple's own firmware, unmodified
- iOS 14
- apps compiled on Linux, most with no Mac at all
- 30+
- iPhones at once on one machine
- 2
- commits in seven days
- 1,239
Real iOS. Not a lookalike.
An emulated iPhone 11 boots Apple's unmodified iOS 14 on an ARM Linux server. The lock screen, SpringBoard, Setup Assistant, Clock, Settings, Safari: the operating system itself, with nothing re-implemented. A rack of devices can't be snapshotted or scaled. Apple's Simulator runs only on a Mac. This runs where agents are trained, as ground truth for CommandAGI's verification infrastructure and for Computerworld.
Your apps. Installed for real.
Apps are compiled on Linux against UIKit, packaged as IPAs, signed and staged into the device image, then launched by iOS like anything from the App Store. A toolchain built for this compiles storyboards, nibs and asset catalogs too, so open-source apps from GitHub come across with no Mac involved.
// companion/ipa-demo/Main.m, trimmed
@interface DemoController : UIViewController {
UILabel *_count;
NSUInteger _value;
}
@end
@implementation DemoController
- (void)viewDidLoad {
[super viewDidLoad];
UIView *view = [self view];
UILabel *title = [[UILabel alloc] initWithFrame:Rect(20,100,374,60)];
[title setText:@"Imported IPA Demo"];
[view addSubview:title];
_count = [[UILabel alloc] initWithFrame:Rect(24,350,366,70)];
[_count setText:@"Count: 0"];
[_count setAccessibilityIdentifier:@"imported-count"];
[view addSubview:_count];
UIButton *button = [UIButton buttonWithType:1];
[button setFrame:Rect(62,460,290,70)];
[button setTitle:@"Increment" forState:0];
[button setAccessibilityIdentifier:@"imported-increment"];
[button addTarget:self action:@selector(increment:)
forControlEvents:1UL<<6]; // UIControlEventTouchUpInside
[view addSubview:button];
}
- (void)increment:(id)sender {
_value++;
[_count setText:[NSString stringWithFormat:@"Count: %lu", _value]];
}
@end
int main(int argc, char **argv) {
return UIApplicationMain(argc, argv, nil, @"DemoDelegate");
}

Driven by an agent. Checked like an experiment.
Taps and swipes go in through a virtual touchscreen. Every action is captured before and after, reviewed, and recorded with hashes and transcripts. A run that cannot be checked does not count.
Online.
The phone reaches the internet over a USB-Ethernet link into a small Linux bridge that routes its frames and answers its DNS. Safari loads Wikipedia and Google over HTTPS. Weather shows live data.
Two at once.
Two emulated iPhones completed the same strict journey together on one machine, then idled using 64.6% of one CPU core and 10.76 GiB of memory between them. A measured pair, not a limit.
The demo.
Tech specs.
| Emulator | Inferno, ChefKiss's fork of QEMU for Apple's ARM devices, with a companion runner built here for firmware preparation, app import, headless control and evidence. |
| Host | aarch64 Linux, CPU emulation only. Two virtual CPUs and 4 GB of memory per guest. |
| Firmware | Apple's iOS 14.0 beta 5 restore image, supplied by the user. The tools stage it and never download, decrypt or redistribute Apple's code. |
| Apps | Objective-C built with clang against hand-written UIKit headers; Swift and SwiftUI built on Linux or by Xcode. Ad-hoc signed IPAs. App Store binaries are rejected by design. |
| Control | A QMP channel into the emulator, a virtual multitouch device, and a headless display read back as frames. |
| Evidence | Commands, control and display transcripts, timings, before and after screenshots with hashes, and a review of whether the screen changed the way the action claimed. |
| Known limits | The display intermittently freezes (about 45% of app sessions on 30 October; each costs a fresh boot). Setup takes one to three minutes per screen. Maps and Stocks quit at launch. General App Store compatibility is not claimed. |
Every app that was tried
| App | Built | Result |
|---|---|---|
| Settings, Clock, Notes, Calendar, Photos, Books, Health, Wallet, Home, TV, News, Mail, Safari, Messages, Music, Phone, FaceTime, Weather, App Store | Apple | Opened and used |
| Reminders, Podcasts | Apple | Opened; blank without a network at the time |
| Maps, Stocks | Apple | Quit at launch, with or without the network |
| Hello SwiftUI, Hello SPM, Hello Mixed, Hello Async | Linux | Run: SwiftUI navigation, Swift calling Objective-C, async/await |
| swift-2048 (MIT) | Linux, from its Xcode project | Runs and plays |
| Hello Storyboard | Linux, no Mac | Runs: storyboard, xib and asset-catalog colour all compiled on Linux |
| Clendar (a 2021 App Store calendar app) | Linux, no Mac | Runs and navigates its settings |
| Simon Tatham's Puzzles, vfr Reader, ACEDrawingView, jot | Linux, no Mac | Run: a game, a PDF paged, finger drawing |
| CalendarKit, CandySearch, iOS9Sampler, SaveTheDot, Birthdays, GreatReader, Proton, GoodAsOldPhones, SwiftUI 2048, Recipes, Fojusi, Stopwatch, MVCTodo, Artistry, QuoraDots, DesignPatterns, TumblrMenu, Recordings | Linux, no Mac (open source, from GitHub) | Run: day views, detail pages, a game played to Game Over, editors, lists |
| Notes Demo, Navigation Demo, Counter | Linux (our own Objective-C) | Run, including full tap journeys |
| CardsAgainst, Velik, CompositionalDiffable, Sol, SwiftUIKit | Linux | Crash at start (launch image lookup, Core Data, others under investigation) |
| Tipulator (MIT) | Linux and Xcode | Crashes in its own 2014-era Auto Layout code |
| NetNewsWire 6.0 (MIT) | Xcode code, Linux resources | Does not stay open (App Group container) |