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.


View on GitHub
Sixty-four captures of the emulator's display, scaled and nothing else. Drag the shelf. Tap a phone to watch it larger.
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");
}
Before the tap: Count: 0
Before the tap: Count: 0
After a tap injected on Increment: Count: 1
After a tap injected on Increment: Count: 1
The whole app, compiled on Linux with clang against hand-written UIKit headers and installed as an IPA. The agent's tap lands on the button at the bottom; the label above it is what the evidence compares, before and after.

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.

How iPhone on Linux fits together Apple's IPSW and apps built on Linux with clang are staged into disk images. Inferno, a QEMU fork, emulates an iPhone 11 that boots unmodified iOS 14 and runs the imported app. An agent drives it through a companion runner, a QMP control channel and a virtual multitouch device; frames come back from the headless display and are reviewed before and after each action; the runner and the review both write an evidence record of hashes and transcripts. Apple IPSW iOS 14, user-supplied Linux clang build apps against UIKit headers Disk staging volumes · IPA import Inferno (QEMU) an emulated iPhone 11 real iOS 14 unmodified the app a real IPA aarch64 Linux host · CPU emulation Frames headless display Before / after review did the screen really change? Agent or an operator Companion runner journeys · launch helpers Control channel QMP Virtual multitouch taps · swipes · home Evidence record hashes · transcripts · screenshots frames what changed taps events every action, recorded
How it fits together: Apple's firmware and apps built on Linux are staged into disk images; Inferno emulates an iPhone 11 running real iOS 14 and the imported app; an agent's taps go in through a companion runner, a QMP control channel and a virtual multitouch device; frames come back and are reviewed before and after each action; the runner and the review both write the evidence record.

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.

Sixty-one seconds of real frames from runs between 6 and 11 October 2026: Setup Assistant, the lock screen, a full navigation journey, a tap moving a counter from 0 to 1, and two iPhones at once.

Tech specs.

EmulatorInferno, 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.
Hostaarch64 Linux, CPU emulation only. Two virtual CPUs and 4 GB of memory per guest.
FirmwareApple'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.
AppsObjective-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.
ControlA QMP channel into the emulator, a virtual multitouch device, and a headless display read back as frames.
EvidenceCommands, 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 limitsThe 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
AppBuiltResult
Settings, Clock, Notes, Calendar, Photos, Books, Health, Wallet, Home, TV, News, Mail, Safari, Messages, Music, Phone, FaceTime, Weather, App StoreAppleOpened and used
Reminders, PodcastsAppleOpened; blank without a network at the time
Maps, StocksAppleQuit at launch, with or without the network
Hello SwiftUI, Hello SPM, Hello Mixed, Hello AsyncLinuxRun: SwiftUI navigation, Swift calling Objective-C, async/await
swift-2048 (MIT)Linux, from its Xcode projectRuns and plays
Hello StoryboardLinux, no MacRuns: storyboard, xib and asset-catalog colour all compiled on Linux
Clendar (a 2021 App Store calendar app)Linux, no MacRuns and navigates its settings
Simon Tatham's Puzzles, vfr Reader, ACEDrawingView, jotLinux, no MacRun: 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, RecordingsLinux, no Mac (open source, from GitHub)Run: day views, detail pages, a game played to Game Over, editors, lists
Notes Demo, Navigation Demo, CounterLinux (our own Objective-C)Run, including full tap journeys
CardsAgainst, Velik, CompositionalDiffable, Sol, SwiftUIKitLinuxCrash at start (launch image lookup, Core Data, others under investigation)
Tipulator (MIT)Linux and XcodeCrashes in its own 2014-era Auto Layout code
NetNewsWire 6.0 (MIT)Xcode code, Linux resourcesDoes not stay open (App Group container)