[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-96258":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":14,"stars30d":14,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":15,"rankGlobal":9,"rankLanguage":9,"license":16,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":19,"hasPages":17,"topics":20,"createdAt":9,"pushedAt":9,"updatedAt":21,"readmeContent":22,"aiSummary":23,"trendingCount":14,"starSnapshotCount":14,"syncStatus":24,"lastSyncTime":25,"discoverSource":26},96258,"omarchy-apple-dev","joshuaswarren\u002Fomarchy-apple-dev","joshuaswarren","Build and deploy iOS SwiftUI apps from Omarchy Linux on Apple Silicon, no Xcode required",null,"Shell",102,5,3,0,42.33,"MIT License",false,"main",true,[],"2026-09-20 04:01:32","# Build and deploy iOS apps on Omarchy Linux (Apple Silicon)\n\nSwiftUI apps built on an M1 Mac running Omarchy Linux, installed on a physical\niPhone over USB, with no Xcode and no macOS in the loop.\n\nBased on a first successful run on 2026-09-09 with:\n\n| Tool | Version | Source |\n|------|---------|--------|\n| Swift | 6.3.3 (aarch64-unknown-linux-gnu) | AUR `swift-bin` |\n| xtool | 1.19.0 | xtool-org\u002Fxtool AppImage |\n| pymobiledevice3 | latest from PyPI at install time | venv |\n| LLDB | 21.0.0 (Swift toolchain) | bundled with `swift-bin` |\n| iOS SDK | iPhoneOS 26.5 | Xcode 26.6 on a Mac, streamed as a directory |\n\nWorks with a free Apple ID. Paid membership not required for device installs.\n\n## What you need\n\n- An Apple Silicon Mac or Linux box running Omarchy (Arch-based), aarch64.\n- An iOS device and a USB cable.\n- One of:\n  - A Mac with Xcode installed (any host on your network that you can SSH\n    into), or\n  - `Xcode.xip` downloaded from developer.apple.com (requires an Apple ID).\n\n`xtool sdk install` accepts a path to an `Xcode.xip` **or an extracted\n`Xcode.app` directory**. The directory route avoids the multi-GB download.\n\n## Install\n\nRun `install-toolchain.sh`, then get an SDK onto the machine:\n\n- Directory route: stream only the pieces xtool needs from a Mac with Xcode\n  (see `install-toolchain.sh`, section 5) into `~\u002Fxcode-apple-sdk-src\u002FXcode.app`,\n  then `xtool sdk install ~\u002Fxcode-apple-sdk-src\u002FXcode.app`.\n- XIP route: download `Xcode.xip` from\n  https:\u002F\u002Fdeveloper.apple.com\u002Fdownload\u002Fall\u002F?q=Xcode and run\n  `xtool sdk install \u002Fpath\u002Fto\u002FXcode.xip`.\n\nVerify with `swift sdk list` (should print `darwin`).\n\n## First app\n\n```\nxtool new HelloOmarchy\ncd HelloOmarchy\nxtool dev run\n```\n\n`xtool dev build` alone produces `xtool\u002FHelloOmarchy.app` (arm64 Mach-O).\n\n## Device\n\nPlug the iPhone in, tap Trust when prompted, then:\n\n```\n.\u002Fdevice-run.sh\n```\n\nFirst run needs `xtool auth` (interactive, your Apple ID; password mode works\nwith free accounts). Pairing happens through usbmuxd on first connect.\n\n## Scripts\n\n- `install-toolchain.sh`: everything up to and including the SDK install.\n- `device-run.sh`: pair, install, launch, LLDB attach, with the phone connected.\n\n## Findings\n\n[FINDINGS.md](FINDINGS.md) records the fourteen things that broke on the way to the\nfirst working run, with error text, root cause, and fix for each: SDK install\nfailures, a clang version mismatch that breaks SwiftUI, and the four unstated\nprerequisites for debugging on iOS 17 and later.\n\n## Notes\n\n- `clang` on PATH must be the Swift toolchain's own clang, not the system\n  clang. The SDK install copies the host clang headers into the bundle; a\n  version mismatch between host clang and the Swift compiler produces\n  `__builtin_bit_cast` size errors when compiling SwiftUI. Use\n  `PATH=\u002Fusr\u002Flib\u002Fswift\u002Fbin:$PATH` on Arch-based installs.\n- Building SwiftUI pulls in simd\u002Farm_neon headers; first build takes about a\n  minute on an M1.\n\n## License\n\nMIT\n","这是一个在Omarchy Linux（基于Arch的ARM64发行版）上构建并部署iOS SwiftUI应用的开源工具链，无需macOS或Xcode。它通过集成Swift 6.3.3（Linux原生aarch64版本）、xtool、pymobiledevice3和精简iOS SDK，实现从代码编写、编译（生成arm64 Mach-O格式.app）、USB设备配对、签名安装到真机调试（LLDB）的全流程。项目依赖远程Xcode SDK（可解压目录或XIP文件），支持免费Apple ID认证，适用于Apple Silicon平台上的Linux原生iOS开发实验、CI\u002FCD轻量部署及跨平台Swift开发研究场景。",2,"2026-09-12 02:30:15","CREATED_QUERY"]