In a development that could fundamentally redefine the boundaries of mobile gaming, a new software tool named Madeira has demonstrated the ability to run demanding, modern PC games natively on Apple’s mobile devices. Developed by software developer Will Faust, Madeira allows high-end PC titles—including graphically intensive open-world games like Grand Theft Auto V and Red Dead Redemption 2—to run directly on Apple hardware, such as the iPhone 18 Pro, achieving playable performance levels exceeding 30 frames per second (FPS).
Unlike traditional workarounds that require users to compromise their device security, Madeira achieves this feat without requiring a jailbreak. The software is compatible with the iPhone 13 Pro and newer models, opening up a vast library of classic and contemporary Windows-based PC games to mobile users. By running these applications entirely on-device, Madeira eliminates the need for cloud streaming services, high-speed internet dependencies, or external server hosting, signaling a massive leap forward in the capabilities of pocket-sized hardware.
How Madeira Rewrites the Rules of Mobile Emulation
For nearly as long as mobile operating systems have existed, emulation enthusiasts and developers have sought to bridge the gap between desktop computers and mobile platforms. However, running complex PC games on mobile devices has historically faced two massive hurdles: the fundamental architectural differences between desktop and mobile processors, and the highly restrictive nature of Apple’s closed software ecosystem.
Apple’s App Store guidelines and iOS security protocols are notoriously strict, designed to prevent applications from executing unauthorized code. One of the primary mechanisms Apple uses to maintain security is blocking access to Just-In-Time (JIT) compilation for third-party applications. JIT compilation is a technique where software compiles code into machine instructions on the fly as the program runs, rather than ahead of time. For emulation and translation layers, JIT is absolutely essential; without it, translating complex desktop code into mobile-compatible instructions is incredibly slow, rendering heavy games unplayable.
Madeira successfully navigates this restriction through a clever, developer-focused workaround. Rather than attempting to break through Apple’s sandboxing via a system-level exploit or jailbreak, Madeira utilizes the StikDebug debugger connection. By establishing a debugging bridge, the software triggers the system’s native JIT compilation capabilities. This allows the application to generate and execute the necessary code blocks dynamically.
By leveraging this developer channel, Madeira operates within the bounds of Apple’s security protocols while unlocking the raw computational performance required to run desktop-class software. This breakthrough means users can experience desktop gaming performance without exposing their devices to the security vulnerabilities associated with jailbreaking.
Decoding the Tech Stack: From Windows x86-64 to iOS ARM64
To understand how a game designed for a high-end Windows desktop can run on an iPhone, it is necessary to examine the complex layers of translation occurring simultaneously behind the scenes. Madeira relies on a sophisticated, multi-tiered software stack to translate CPU instructions, operating system commands, and graphics API calls in real time.
The translation process consists of three main pillars:
- CPU Architecture Translation (x86-64 to ARM64 via FEX): Most modern PC games are built for the x86-64 CPU architecture used by Intel and AMD processors. Apple Silicon, however, uses the ARM64 architecture, which relies on a completely different instruction set. Madeira utilizes FEX-Emu, an open-source translation layer, to intercept x86-64 instructions and translate them on the fly into ARM64 instructions that the iPhone’s processor can execute.
- Operating System Translation (Windows to iOS via Wine): PC games are written to interact with the Windows operating system, relying on specific Windows system calls (syscalls) for memory management, file access, and hardware communication. Madeira incorporates Wine, a famous compatibility layer, to translate these Windows system calls into POSIX-compliant system calls that iOS can interpret. This tricks the game into believing it is running on a standard Windows environment.
- Graphics API Translation (DirectX 12 to Metal via
madeira-d3d12): Modern PC games use Microsoft’s DirectX 12 API to communicate with the graphics card. iOS devices, however, only support Apple’s proprietary Metal graphics API. To bridge this gap, Madeira utilizes a custom runtime calledmadeira-d3d12. This translation layer intercepts DirectX 12 graphics commands and converts them into equivalent Metal commands, allowing the iPhone’s graphics processing unit (GPU) to render the game’s visuals correctly.
Running all three of these translation layers simultaneously places an extraordinary burden on the host device. The iPhone must not only run the game itself but also dedicate a significant portion of its processing power to translating every line of code, system call, and graphical instruction in real time.

Hardware Muscle: Elevating the Mobile Gaming Experience
The fact that an iPhone can handle this immense computational overhead is a testament to the rapid evolution of Apple Silicon. The system’s performance is heavily dependent on the hardware generation of the host device. While Madeira is compatible with older devices starting from the iPhone 13 Pro, the true potential of the software is realized on cutting-edge hardware like the iPhone 18 Pro.
In real-world performance tests, the iPhone 18 Pro has demonstrated remarkable capability. Demanding open-world games like Red Dead Redemption 2 and Grand Theft Auto V run at a stable 720p resolution, maintaining frame rates consistently above 30 FPS.
Beyond these two flagship Rockstar titles, developers and early testers have successfully run a variety of other popular PC games. Titles such as Dead Space, Mirror’s Edge, Far Cry 3, and Fallout 4 have been observed running smoothly without noticeable stuttering, graphical artifacts, or performance drops.
This level of performance represents a significant upgrade over cloud gaming services like Xbox Cloud Gaming or GeForce Now. While cloud gaming relies on high-speed internet connections to stream video feeds of games running on remote servers, it is plagued by input latency, video compression artifacts, and a total reliance on stable network connectivity. Madeira’s native, on-device execution eliminates latency entirely, providing instantaneous controller response and allowing users to play their favorite PC games completely offline, whether they are on a flight, commuting, or in areas with poor cellular reception.
However, native emulation of this scale does come with trade-offs. Running high-end PC games puts maximum load on both the CPU and GPU, which inevitably leads to high power consumption and rapid battery drain. Additionally, managing the heat generated by such intense processing is a challenge for fanless mobile devices, meaning thermal throttling could eventually impact sustained performance during extended play sessions.
The Impending Transformation of the Mobile Gaming Industry
The emergence of projects like Madeira highlights a growing trend: mobile hardware has matured to the point where it can legitimately compete with dedicated gaming consoles. With the right software translation layers, a modern smartphone can double as a highly capable portable gaming rig, challenging the market share of dedicated handheld consoles like the Nintendo Switch, Steam Deck, or ASUS ROG Ally.
For years, Apple has attempted to position its devices as premium gaming platforms, even convincing major publishers to release native iOS ports of AAA games like Resident Evil Village and Death Stranding. However, the library of officially ported games remains small, and progress has been slow. Madeira bypasses this bottleneck entirely by giving users immediate access to thousands of existing Windows PC games, transforming the iPhone into an open gaming ecosystem.
The long-term viability of this technology, however, rests almost entirely on Apple’s software policies. While the current version of Madeira successfully bypasses JIT restrictions using the StikDebug developer connection, Apple has a history of closing such loopholes in subsequent iOS updates to protect the security of its ecosystem. If Apple decides to restrict developer-level JIT access in future versions of iOS, projects like Madeira could face significant roadblocks.
Conversely, if Apple recognizes the immense consumer demand for desktop-class gaming on mobile devices, the company could choose to officially ease its restrictions on JIT access or introduce its own system-level translation tools, similar to the Game Porting Toolkit available on macOS. Regardless of how Apple responds, Madeira has proven that the hardware in our pockets is more than capable of running the world’s most demanding games—it is now simply a matter of software, policy, and developer ingenuity.
