跪拜 Guibai
← All articles
Swift · SwiftUI · Artificial Intelligence

Apps Break Free of the OS: Cutefish, SimRun, and the Blurring Desktop

By 东坡肘子 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

Cross-platform running is moving from a niche experiment to a realistic option, and AI is making it cheap enough for small teams. If apps stop being the lock-in, Western developers' hardware and platform choices will hinge on integration quality, not exclusive catalogs.

Summary

This week's Swift ecosystem roundup highlights three projects that attack cross-platform execution from different angles. Cutefish's Reef reimplements the Mach-O loader, Objective-C runtime, and Apple frameworks like Foundation and AppKit to run unmodified macOS apps on a Linux desktop. SimRun skips the simulator entirely, letting Xcode-compiled iOS apps open as standalone Mac windows with no Catalyst changes. Mac Android Subsystem runs a full Android environment via LineageOS and QEMU, then streams app screens into independent Mac windows through scrcpy, giving Android apps Dock icons, Spotlight search, and clipboard sharing.

The broader trend: developers no longer settle for apps that merely "run" on a foreign OS. They want them to feel native — integrated with the window manager, notification center, and clipboard. AI coding agents are cutting the reverse-engineering and porting costs that once made such projects a month-long effort for large teams, so individual developers can now take them on. As these boundaries fall, the article argues, hardware purchasing decisions may shift from exclusive app ecosystems to the quality of the experience a platform provides for foreign apps.

Takeaways
— Cutefish's Reef reimplements Mach-O loading, Objective-C runtime, and frameworks like Foundation, AppKit, and Core Graphics to run unmodified macOS apps on Linux.
— Reef currently suffers performance costs, including rebuilding the entire view tree on partial state changes and repeated redraws during scrolling.
— SimRun runs iOS simulator apps as standalone macOS windows without booting a simulator or adding Mac Catalyst support, requiring an Apple Silicon Mac, Xcode, simulator runtime, and disabled SIP.
— Mac Android Subsystem combines LineageOS, QEMU, and the Apple Hypervisor Framework to run a full Android environment, then uses scrcpy to show app screens in separate Mac windows.
— MAS enables double-click APK install, per-app Dock icons, Spotlight search, ⌘-Tab switching, notifications, and two-way clipboard, but omits Google Play Services.
— Claude Code's initial context can exceed 39.6k tokens before any prompt, driven by CLAUDE.md, Rules, Skills, and custom agents; lazily-loaded MCP tools are not counted.
— Tools like /skill-doctor and /doctor prompt-audit help prune unused skills, duplicate rules, and outdated instructions, but context size is not the same as billing cost due to Prompt Caching.
— Apoorv Darshan's Live Voice uses a unified JSON tool contract for 25 app operations, with adapters for Gemini Live, OpenAI Realtime, xAI, and Qwen, classifying actions as read, navigate, write, or destructive, with an 8-second undo window for writes.
Conclusions

The goalposts for cross-platform compatibility have moved from 'does it run' to 'does it feel native' — integration with windows, dock, clipboard, and notifications is now the differentiator.

AI coding agents are collapsing the cost of reverse-engineering frameworks and runtime behavior, making ambitious compatibility layers feasible for solo developers and small teams.

As app exclusivity loses its pull, platform competition may intensify around how well each OS hosts foreign apps, shifting the battleground from app catalogs to integration experience.

Performance remains the weak spot for reimplementation approaches like Reef; the trade-off between fidelity and speed will decide whether these projects stay experimental or enter daily use.

Concepts & terms
Reef
A compatibility layer in Cutefish that reimplements the Mach-O loader, Objective-C runtime, and Apple frameworks (Foundation, AppKit, Core Graphics, SwiftUI) so unmodified macOS apps can run on Linux.
Mac Android Subsystem (MAS)
A project that runs a full Android environment (LineageOS) inside QEMU on Apple's Hypervisor Framework, then streams app screens via scrcpy into standalone Mac windows, giving Android apps Mac-like integration.
Generation Token
A mechanism in audio processing to coordinate asynchronous events, used here to prevent volume bouncing during natural speech pauses by marking valid state changes and applying a delay window.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗