Repository navigation
peek 0.2.0
Install / update
curl -fsSL https://raw.githubusercontent.com/kimikr/peek/main/scripts/install.sh | sh
peek doctor
On the phone, install Peek-0.2.0.ipa with SideStore or AltStore, or add it to LiveContainer. Check it with sha256sum -c Peek-0.2.0.ipa.sha256.
What's new
- Hot patching. When an edit only changes function bodies (
bodyincluded), peek sends a small patch instead of a new build, and the view keeps its@State. Body edits on real apps reload in 1–3 s. Changes to the shape of a type still do a full build. - C, Objective-C and C++ dependencies. C-family targets built by SwiftPM are imported through their module maps;
.interoperabilityMode(.Cxx)is supported and the C++ standard library is linked when needed. - Binary dependencies.
.xcframeworktargets work, both static libraries and dynamic frameworks (signed and sent to the phone once). - Colour sets and asset symbols. Colour sets from asset catalogs (light and dark) work without compiling
Assets.car, and so do the symbols Xcode generates:Color(.brand),.foregroundStyle(.brand),Image(.logo),UIColor(resource:),UIImage(resource:). DocumentGroupapps preview with one new document.- Crash screen shows the last output the build printed (a
fatalErrormessage, say).
Protocol change: the 0.2.0 app and script only work with each other. Update both; the app tells you if they don't match.