Feature request: iOS target (iPhone/iPad) - scope and feasibility #2199

Open
opened 2026-11-26 05:22:50 +00:00 by github-bot · 2 comments
Owner

@⁠itsonewi on GitHub · 2026-11-25 09:04 UTC · original

What I am asking for

A way to run XCL on iPhone / iPad, so that people who own a capable phone but not a capable Windows PC can use XCL at all.

Why

XCL currently needs Windows 10/11 x64 and a desktop-class GPU. Many people who would use it do not have that machine, but do have a recent iPhone. If an iOS target were possible, that hardware gap would matter much less.

What I already understand about the blockers (so this is not a "just build it for ARM" request)

  • The runtime is x64 native code plus DXIL / Direct3D 12. iOS has no D3D12, so this means a Metal renderer, and the RDNA2 → DXIL recompiler would need a DXIL → MSL (or RDNA2 → MSL) path. That is a second GPU backend, not a port.
  • iOS does not allow JIT for third-party apps, so "the game's x64 code runs natively" has no direct equivalent. It would need ahead-of-time translation of the title's x64 code to ARM64, plus the PE loader and the thunk layer on top.
  • The only non-Windows path that works today is macOS (#258), through CrossOver/Wine + D3DMetal + Rosetta 2. None of those components exist on iOS.
  • GPL-2.0-only and the App Store terms are incompatible, so distribution would be sideloading only.

Questions

  1. Is an iOS (or, more generally, a mobile ARM64) target something you would consider in scope, even as a long-term direction?
  2. If not, is there a smaller direction that serves the same users — for example a low-memory preset or a Series S-style profile for 8–16 GB machines, or performance work on integrated GPUs? (#441 and the Series S numbers in #258 look related.)
  3. Would an RFC / design issue for an ARM64 + Metal backend be welcome, or is that out of scope for the project?

I am not asking anyone to commit to this. I would just like to know whether the answer is "no", "not now", or "yes, and here is what help would look like".

**@⁠itsonewi** on GitHub · 2026-11-25 09:04 UTC · [original](https://github.com/xcl-dev/xcl/issues/2199) **What I am asking for** A way to run XCL on iPhone / iPad, so that people who own a capable phone but not a capable Windows PC can use XCL at all. **Why** XCL currently needs Windows 10/11 x64 and a desktop-class GPU. Many people who would use it do not have that machine, but do have a recent iPhone. If an iOS target were possible, that hardware gap would matter much less. **What I already understand about the blockers** (so this is not a "just build it for ARM" request) - The runtime is x64 native code plus DXIL / Direct3D 12. iOS has no D3D12, so this means a Metal renderer, and the RDNA2 → DXIL recompiler would need a DXIL → MSL (or RDNA2 → MSL) path. That is a second GPU backend, not a port. - iOS does not allow JIT for third-party apps, so "the game's x64 code runs natively" has no direct equivalent. It would need ahead-of-time translation of the title's x64 code to ARM64, plus the PE loader and the thunk layer on top. - The only non-Windows path that works today is macOS (#258), through CrossOver/Wine + D3DMetal + Rosetta 2. None of those components exist on iOS. - GPL-2.0-only and the App Store terms are incompatible, so distribution would be sideloading only. **Questions** 1. Is an iOS (or, more generally, a mobile ARM64) target something you would consider in scope, even as a long-term direction? 2. If not, is there a smaller direction that serves the same users — for example a low-memory preset or a Series S-style profile for 8–16 GB machines, or performance work on integrated GPUs? (#441 and the Series S numbers in #258 look related.) 3. Would an RFC / design issue for an ARM64 + Metal backend be welcome, or is that out of scope for the project? I am not asking anyone to commit to this. I would just like to know whether the answer is "no", "not now", or "yes, and here is what help would look like".
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:22:50 +00:00
Author
Owner

@⁠itsonewi on GitHub · 2026-11-25 10:01 UTC · original

Bringing this back once, because the scope question is the part only a maintainer can answer: is an iOS (or mobile ARM64) target in scope - no, not now, or yes? Even a one-line answer to question 1 would settle it for the people watching this issue.

If the answer is yes, one request: start the platform split early rather than porting at the end. A Metal backend, the x64 -> ARM64 AOT path and the no-JIT constraint change the shape of the renderer and the loader. If they are designed in from the start, PC and iOS can share the same features and reach parity together. If iOS is built as a late fork of the PC path, one platform will always be missing part of the experience. Nobody should get the short version.

Either way, good luck with the project - the work so far is impressive.

**@⁠itsonewi** on GitHub · 2026-11-25 10:01 UTC · [original](https://github.com/xcl-dev/xcl/issues/2199#issuecomment-7159126051) Bringing this back once, because the scope question is the part only a maintainer can answer: **is an iOS (or mobile ARM64) target in scope - no, not now, or yes?** Even a one-line answer to question 1 would settle it for the people watching this issue. If the answer is yes, one request: start the platform split early rather than porting at the end. A Metal backend, the x64 -> ARM64 AOT path and the no-JIT constraint change the shape of the renderer and the loader. If they are designed in from the start, PC and iOS can share the same features and reach parity together. If iOS is built as a late fork of the PC path, one platform will always be missing part of the experience. Nobody should get the short version. Either way, good luck with the project - the work so far is impressive.
Author
Owner

@⁠AryaAnish121 on GitHub · 2026-11-25 12:00 UTC · original

brocacho 😭
as far as i am aware iphones aren't powerful enough to run the retail game
and being able to run this (xcl) on normal desktops itself is a big hurdle rn let alone macs or even iphones..

**@⁠AryaAnish121** on GitHub · 2026-11-25 12:00 UTC · [original](https://github.com/xcl-dev/xcl/issues/2199#issuecomment-7161797222) brocacho 😭 as far as i am aware iphones aren't powerful enough to run the retail game and being able to run this (xcl) on normal desktops itself is a big hurdle rn let alone macs or even iphones..
This discussion has been locked. Commenting is limited to contributors.
No description provided.