Repository navigation
peek 0.2.1
Install / update
curl -fsSL https://raw.githubusercontent.com/kimikr/peek/main/scripts/install.sh | sh
peek doctor
On the phone, install Peek-0.2.1.ipa with SideStore or AltStore, or add it to LiveContainer. Check it with sha256sum -c Peek-0.2.1.ipa.sha256. The 0.2.0 app still works with this script, but translations need the 0.2.1 app.
Every 0.2 feature has now been checked on an iPhone (iOS 27): hot patching, C/Objective-C/C++ and .xcframework dependencies, colour sets, asset symbols, image sets, string catalogs and DocumentGroup.
Fixes
- Asset catalogs in packages. A package target with an
Assets.xcassetsno longer stops the build (SwiftPM needs Xcode'sactoolfor those). SwiftPM now only builds the dependencies; peek compiles the previewed target itself, unpacks its.xcframeworks and assembles its resource bundle. First builds are faster too. - Images.
Image("name"),Image("name", bundle: .module)andImage(.name)showed nothing on iOS 27 for images peek ships. They are now loaded throughUIImage. - Translations. String catalogs (
.xcstrings) become.stringsand.stringsdictfiles, plurals included. The Peek app now lists every language iOS offers, so previews show your translations in the phone's language. - iOS 16 deployment targets. Packages that target iOS 16 or older failed to build; they are now compiled for iOS 17, which the Peek app needs anyway.
- Dependency errors. A failed dependency build is reported instead of silently previewing the old code. Errors are shorter, without colour codes, and no longer include SwiftBuild's dump of your environment variables, which could contain secrets.
- Local macros build again; an
.xcframeworkused by both the app and a dependency is linked once; C++ in remote dependencies linkslibc++;Color(.red)keeps meaning the system red.
Known limits: a dependency (not the previewed target) with an asset catalog or a string catalog can't be built on Linux.