kimikr/peek: SwiftUI previews on a real iPhone, built on Linux

forums.swift.org1 min read

An independent developer has created Peek, a tool that enables real-time SwiftUI previews on a physical iPhone when building apps on Linux. The tool cross-compiles sources into a dylib using the iOS SDK and xtool, allowing incremental UI updates to be loaded onto a connected device in one to two seconds. It supports preview blocks, package macros, and resource bundles, though it has currently only been tested on iOS 27 inside LiveContainer. Open article →