Skip to content

peek 0.2.1

Choose a tag to compare

@kimikr kimikr released this 15 Nov 21:53
· 62 commits to main since this release

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.xcassets no longer stops the build (SwiftPM needs Xcode's actool for 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) and Image(.name) showed nothing on iOS 27 for images peek ships. They are now loaded through UIImage.
  • Translations. String catalogs (.xcstrings) become .strings and .stringsdict files, 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 .xcframework used by both the app and a dependency is linked once; C++ in remote dependencies links libc++; 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.