Перейти к содержимому
Новых версий нет более 90 дней, поэтому OpenNavo приостановил рекомендации и установку. Homebrew по-прежнему предлагает это приложение.

RuntimeViewer История версий

JieHui Lai · Приложение для macOS, позволяющее исследовать интерфейсы Objective-C и Swift runtime в бинарных файлах Mach-O.

CaskИнструменты разработкиВстроенное обновление 496
Главная

Новых версий нет более 90 дней, поэтому OpenNavo приостановил рекомендации и установку. Homebrew по-прежнему предлагает это приложение.

Команда установки
brew install --cask runtimeviewer
Установки за последние 30 дней
1
Установки за последний год
28
Всего за 365 дней
Последняя версия
2.1.2
Размер загрузки
57МБ
zip
Частота обновлений
Еженедельно
3 релиза за 30 дней
  1. 3.0.0-beta.12

    ПоследняяПредварительный выпуск

    Релиз GitHub

    v3.0.0-beta.12

    New

    • A welcome page appears on first launch, and What's New after an update or from Help → What's New in RuntimeViewer.
    • Generation Options move to Settings → Generation Options; the toolbar button overrides them for the image on screen.
    • Swift interfaces print imported C and Objective-C types under their Swift names; Imported Type Names brings back the C names.
    • Objective-C headers show the NS_SWIFT_NAME and NS_REFINED_FOR_SWIFT the SDK gives a declaration.
    • Editor panes without the focus are dimmed, as in Xcode (Settings → Theme).
    • iOS: interfaces open in the source editor, with syntax colouring, the minimap, ⌘F and Jump to Definition.

    Improved

    • The specializations of a C++ class template are grouped under the template.
    • Object icons are drawn as Xcode draws them, and C++ objects are purple.
    • Editor tabs behave like macOS window tabs.
    • An image opened from the start page or Open Quickly is also opened in the sidebar.
    • Stored properties of stripped @objc @implementation classes get their Swift types back.

    Fixed

    • Changing the Filter Scope no longer expands every row of the sidebar.
    • Background indexing no longer clears the sidebar's selection.
    • An image's bookmarks and recent objects no longer open before its object list has loaded.
    • Objective-C categories in images without Swift code no longer show up as Swift conformances.
    • Settings → Editor → Scope Guides now draws the guides.
    • Settings → Updates no longer shows an up-to-date check as an error.
    • Fixed hangs and crashes on malformed binaries.
  2. 3.0.0-beta.10

    Предварительный выпуск

    Релиз GitHub

    v3.0.0-beta.10

    After updating, RuntimeViewer reinstalls its helper service once and asks you to restart it.

    New

    • File → Open… (⌘O) opens Mach-O files, bundles, folders and dyld shared caches from disk, each in its own window.
    • Settings → Files registers the dyld shared caches that files from other platforms, such as iOS, depend on.
    • C++ classes and namespaces, recovered from RTTI, vtables and symbols, are listed beside Objective-C and Swift objects and print as headers.
    • Export can write C++ headers too.
    • Split the content area into editor panes with File → New Editor Pane On Right or Below; each pane has its own tabs and history.
    • Each editor pane has a jump bar for switching images and objects without moving the sidebar.
    • An empty tab shows a start page with an Open Quickly field and your recent images or objects.
    • Open Quickly (⇧⌘O) now searches every image and indexed object on the engine.
    • A welcome window appears at launch and when you click the Dock icon with no windows open (Settings → General → Show Welcome Window at Launch).
    • Open Generated Interface shows an Objective-C class, category or protocol as Swift imports it.
    • @Observable classes print as written in source, with their macros expandable in place or through Expand Macros in Generation Options.
    • Break Long Types, in Generation Options, wraps long Swift types such as SwiftUI's Body over several lines.
    • Show Naming Word Cloud draws the most common words in an image's type, property and method names, and exports them as PNG, CSV or JSON.
    • The toolbar shows background progress and picks the runtime source as Xcode 26 or 27 does (Settings → General → Activity Style).
    • The source editor remembers where you were in each object, highlights other uses of a clicked name and Find matches, and gains Editor → Code Folding.
    • Context menus everywhere gain Copy Name, Open in Next Editor Pane, Show in Finder and more.
    • New keyboard commands: Navigate → Go Back (⌃⌘←) and Go Forward (⌃⌘→), ⌫ to delete a bookmark, ⌘C to copy a sidebar row's name.
    • runtime-viewer-cli and the MCP server gain callers, callees, type references and address symbolication.
    • iOS and visionOS: the sidebar's gear button opens Settings for appearance, theme and transformer options.
    • iOS and visionOS: open Mach-O files, folders and dyld shared caches from disk, also from the Files app.
    • iOS: iPad supports multiple windows.

    Improved

    • The source editor is now built into RuntimeViewer on Apple silicon Macs, so Xcode no longer needs to be installed.
    • Load Frameworks… on My Mac loads into a separate window and process, and explains a failed load.
    • Attached processes reuse My Mac's indexes of system images, so they open faster and burden the target less.
    • My Mac can open UIKitCore and other images built only for Mac Catalyst.
    • Filter Scope is remembered per engine and image, across windows and launches.
    • Images show Xcode's icons and colours for their kind throughout the app.
    • On macOS 26 and later the content scrolls under the toolbar and tab bar with a blur, as in Xcode.
    • ⌥-click opens an object in the next editor pane, ⇧⌥-click in a new tab, and an object already open is switched to instead.
    • The interface no longer shows a blinking caret; Settings → Editor → Insertion Point brings it back.
    • RuntimeViewer's download is smaller.

    Fixed

    • Print Exported Declarations Only now also leaves out private @objc protocols and the categories adopting only them.
    • Removing a bookmark from a filtered list no longer removes a different one.
    • Closing the export sheet now stops the export.
    • The Theme editor no longer loses the last change when it closes.
    • Revealing an object in the sidebar no longer leaves its row hidden under the section header or the filter bar.
  3. 3.0.0-beta.9

    Развернуть

    Релиз GitHub

    v3.0.0-beta.9

    After updating, RuntimeViewer reinstalls its helper service once and asks you to restart it.

    New

    • With Use Xcode's Source Editor on, generated comments show as tags, and field and enum case layouts collapse (Settings → Editor → Comment Tags).
    • Print Exported Declarations Only, in Generation Options for Swift and Objective-C, leaves out what an image does not export.
    • The sidebar marks what an image does not export, and a Not Exported row in Filter Scope filters it.
    • Objective-C protocols defined in Swift carry a Swift badge, and a Defined in Swift row in Filter Scope filters them.
    • The Swift list shows @objc protocols declared in Swift, and Swift classes list the Objective-C protocols they adopt.
    • The Report navigator shows the memory searchable interfaces and cross references take, and frees it.

    Improved

    • RuntimeViewer uses much less memory: Find and cross references keep only a limited amount resident (Settings → Search).

    Fixed

    • Fixed memory that kept growing while connected to a remote device or an injected process.
  4. 3.0.0-beta.8

    Развернуть

    Релиз GitHub

    v3.0.0-beta.8

    New

    • The Find navigator's new Call Hierarchy, Callees and Type References modes show who calls a method, what it calls and which functions use a type.
    • Start a search from Edit → Find (Find Call Hierarchy is ⌃⇧⌘H) or by right-clicking a name in the interface.
    • The Inspector's new References tab shows the callers, callees and type references of the member at the insertion point.
    • Cross references read the arm64 and arm64e code of indexed images, in the background unless Settings → Search → Keep Cross References Ready is off.
    • The sidebar's filter fields take Xcode's navigator tokens — NS*, *View, !Private, and * and ? as wildcards — and keep recent filters.
    • The Inspector's Hierarchy tab lists a class's superclasses as clickable rows, and the protocols a protocol refines as an outline.

    Improved

    • Find keeps the searchable interfaces of system frameworks on disk and reads them back on the next launch instead of rebuilding them.
    • Settings → Indexing → Derived Data shows how much disk they take and deletes them.

    Fixed

    • Fixed an issue where the sidebar could not be resized right after launch.
    • Choosing another Filter Mode now refilters the sidebar's object list right away.
    • A window whose engine restarts now starts over instead of showing a stale image.
    • Long result titles in the Find navigator end in an ellipsis instead of being cut off.
  5. 3.0.0-beta.7

    Развернуть

    Релиз GitHub

    v3.0.0-beta.7

    New

    • Find navigator: search the interfaces of every indexed image for text, find types by name together with their ancestors, descendants or conforming types, or find properties, methods and other members. Narrow the scope to the current image, the images in the results, or images you pick; a result opens its type at the matching line. Text searches can insert patterns such as Digits or Email Address, and recent queries are kept for each source. Open it with Edit → Find → Find in Indexed Images… (⇧⌘F).
    • Report navigator (View → Show Report Navigator, ⌘9): background indexing and the building of searchable interfaces, running and finished, now live in a sidebar tab with a filter bar, in place of the toolbar's Background Indexing button. Every window on the same engine shows the same Report.
    • Private Swift types are listed by name with a Private tag; click it to see the full discriminator and, when it can be worked out, the source file. Types declared inside a function carry a Local tag.
    • Each Always Index entry can be limited to particular engines: My Mac, Mac Catalyst, an attached process or a device.
    • Filter Scope can narrow the sidebar by every object property, including Objective-C classes implemented in Swift, bridged Swift classes and local types.
    • Batch export picks images from a tree with tri-state checkboxes; its search supports regular expressions, case sensitivity and matching full paths.
    • Jailbroken iOS devices: with RuntimeViewer's jailbroken iOS build running on the device, Attach to Process lists the device's processes, with their app icons, and injects into them. The jailbroken build is made with BuildJailbrokenIPAScript.sh and is not among this release's downloads.
    • A Claude Code and Codex plugin in AgentPlugins/runtime-viewer teaches coding agents to use runtime-viewer-cli.

    Improved

    • The My Mac (Mac Catalyst) engine runs in a service embedded in the app: it starts on demand and reconnects by itself if it crashes.
    • On macOS 26 and later the sidebar is laid out like Xcode's navigator: the lists run under the tab switcher and the filter bar, with the scroll edge effect.
    • The sidebar's filter bars and search fields use the same controls as Xcode's.
    • Background indexing and searchable-interface builds keep their speed while RuntimeViewer is in the background.
    • The specialization type picker lists the subclasses in images indexed after the type was first opened.

    Fixed

    • Opening a second window on an engine no longer adds batches of 0 images to the indexing list, or reloads the engine once per window for each batch; closing that window, or moving it to another engine, no longer cancels the first window's indexing.
    • Detaching from an injected process, or quitting it, while a reply is still on its way no longer crashes RuntimeViewer or the process.
    • The Relationships tab lists the subclasses of a generic class bound to type arguments.
    • A long window title no longer pushes the toolbar's source picker and buttons into the overflow menu.
    • The source editor shows its scroll bars as System Settings asks, instead of always hiding them.
  6. 3.0.0-beta.5

    Развернуть

    Релиз GitHub

    v3.0.0-beta.5

    New

    • runtime-viewer-cli now ships inside the app at RuntimeViewer.app/Contents/Applications/runtime-viewer-cli; it works without the app open, and every command supports --json.
    • Images opened on "My Mac" now load in a separate service, so a crashing image no longer takes down the app.
    • A class listed under both Swift and Objective-C now links its two entries; right-click either one to jump to the other.
    • Navigate → Reveal in Sidebar Navigator (⇧⌘J) selects the current object in the sidebar.
    • Settings → Editor lets you choose which installed Xcode the source editor uses.
    • New app icon that adapts to dark, tinted and Liquid Glass appearances; beta builds carry a BETA badge.
    • New Infers ObjC Overrides From Selector Names option in Generation Options, off by default.

    Improved

    • Icons in the sidebar, Open Quickly and the Inspector now have tooltips.
    • Private Swift types show their discriminator in the sidebar, so same-named types can be told apart.
    • Batch export now shows indexing progress instead of staying on Queued.
    • Opening an image while others index in the background is faster.
    • While an interface loads, the content pane shows a spinner instead of the previous object's text.
    • On macOS 27, the sidebar and Inspector tab switchers use the system tab style.

    Fixed

    • Fixed the Mac Catalyst engine loading forever.
    • Fixed wrong addresses for property accessors whose name matches a class method.
    • RuntimeViewer's own injected code no longer appears in a target's image list.
    • The Relationships tab now lists Swift subclasses of Objective-C classes and conformers of nested Swift protocols.
    • Fixed overlapping rows after filtering or expanding far down a long list.
    • Fixed grey row highlights, missing context menus, drag selection and a flash when navigating the sidebar on macOS 27.
    • The source editor's minimap shows its hover labels again, and the editor works with Xcode 27.
  7. 3.0.0-beta.4

    Развернуть

    Релиз GitHub

    v3.0.0-beta.4

    A smaller release than the last one. The sidebar gives back a large amount of memory on big images, reinstalling the privileged helper is now one click instead of two, and a transition artifact in the sidebar is gone.

    This is a beta build — only clients that opted in via Settings → Updates → Include pre-release versions receive it.


    The sidebar carries much less weight on large images

    Every row in the sidebar exposes its display state — icons, names, filter highlighting — as an individually observable property, and until now each of those properties allocated its own observable relay and lock the moment the row was created. On a 14,000-object image that cost was paid up front for every row, including the overwhelming majority that are never scrolled to, and for properties that nothing was ever watching.

    Those properties now cost nothing until something actually observes them. The storage lives inline in the row object, and the relay is built on first subscription rather than on creation. Rows you never scroll to, and properties nothing binds against, no longer allocate anything at all.

    This is invisible except in how the app feels on large images: less memory held, and less work done while building a list.

    Reinstalling the privileged helper takes one click

    Replacing the helper daemon previously meant going to Settings → Helper, clicking Uninstall, waiting for the status to settle, and then clicking Install — and getting the order wrong left the helper unregistered.

    There is now a Reinstall button next to Uninstall, shown whenever the helper is installed and enabled. It performs both halves in the correct order, with the delay the system needs between them, and reports the outcome in the status row.

    This release also ships a new helper protocol version, so clients updating from an earlier build will replace their installed helper automatically on first launch.

    The sidebar's navigation transition holds an opaque background

    On macOS 26 the sidebar's panes no longer carry a background of their own, which left the transition between them translucent as one slid over the other. Both panes now hold an opaque background for the duration of the transition and get their original appearance back afterwards.

  8. 3.0.0-beta.3

    Развернуть

    Релиз GitHub

    v3.0.0-beta.3

    A repair release. Every privileged-helper feature in v3.0.0-beta.2 was dead on arrival, and the app gave no sign of it — the Settings pane reported the helper as installed and enabled the whole time.

    This is a beta build — only clients that opted in via Settings → Updates → Include pre-release versions receive it.


    The privileged helper could not start at all

    In v3.0.0-beta.2 the helper daemon crashed the instant launchd started it, on every attempt, from the moment the app was installed. Anything that goes through the helper — attaching to another process, injecting, the file operations that need elevated access — simply never worked.

    Nothing said so. SMAppService reports whether the daemon is registered, not whether it runs, so Settings → Helper stayed green. Meanwhile launchd kept relaunching the daemon and it kept dying; one affected machine logged 1616 crashes in a day.

    The daemon was dying in dyld, before a single line of its own code ran:

    Library missing: @rpath/OSToolbox.framework/Versions/A/OSToolbox
    

    The cause was a dependency that moved underneath the build. FrameworkToolbox 0.10.0 split OSToolbox into its own target and made a dynamically-built target depend on it, which is enough for Xcode to build both as shared frameworks. Everything then links them through @rpath — including the daemon, whose only search path is /usr/lib/swift. The frameworks are embedded in the app's Contents/Frameworks, the daemon lives in Contents/Library/LaunchServices, and it has no way to look there.

    v3.0.0-beta.1 was unaffected: it predates that release of the dependency, and its daemon links no such framework at all.

    The version was never requested. The dependency was declared as "0.9.0 or newer", which still admits 0.10.0, and the release archive re-resolved onto it. It is now pinned exactly, and the built daemon once again links nothing through @rpath.

    Settings changed right before quitting could be lost

    Settings are written a second after the last edit, and each new edit restarts that timer. Changing something and immediately pressing ⌘Q therefore quit before the write, and the change was gone on the next launch. This affected every build, not just the betas.

    Quitting now finishes the write first.

  9. 3.0.0-beta.2

    Развернуть

    Релиз GitHub

    v3.0.0-beta.2

    A follow-up to the first 3.0 preview, fixing two problems that only showed up once people were actually using it: simulator injection did not work in the released build at all, and the Xcode-backed content view could take the app down on an ordinary sidebar click.

    This is a beta build — only clients that opted in via Settings → Updates → Include pre-release versions receive it.


    Simulator injection worked in Debug and not in the release build

    v3.0.0-beta.1 shipped iOS Simulator injection, and it failed for everyone who installed it. The daemon reported:

    dlopen payload: ... (fat file, but missing compatible architecture
    (have 'x86_64,arm64', need 'arm64e'))
    

    That dlopen runs inside the daemon rather than the target, so the architecture it insists on is the daemon's own — and a release daemon is arm64e. A simulator payload has no arm64e slice and cannot have one, so the demand could never be met.

    Reaching that code path was the real bug. The helper chose its injection strategy from the target's sandbox alone, and every simulator process is sandboxed, so it went straight to the remap fallback without first trying the plain dlopen that would have worked. It now reads the target's platform too and refuses the remap fallback for a cross-platform target. Debug builds hid this the whole time, because a Debug daemon is not arm64e.

    The payload is also embedded differently now — the same fixed-path arrangement the Catalyst helper has always used, rather than a build-time script that had to guess where the product landed under xcodebuild archive.

    The Xcode content view crashed when switching class after folding

    With Settings → Editor → Use Xcode Source Editor on, folding a block and then clicking a different class in the sidebar terminated the app. Not a glitch — the process died, taking the window's state with it.

    Folds belong to the editor view, not to the text: replacing the displayed source left the previous interface's folds in place, and the first layout pass that met a shorter line than the fold's recorded end column tripped a bounds check inside Xcode's framework. Because that layout runs inside the click's own event tracking, the crash looked like the click itself.

    Nothing about it was version-specific — the same code is byte-identical in Xcode 26.5 and 26.6, and still present in 27.0 — so no Xcode version avoided it.

    Folds now survive leaving an interface and coming back. Clearing them before each swap is what makes the crash impossible, so the fold state is saved first and restored when the same interface returns, keyed on the rendered text: change any generation option and the text changes with it, so stale folds are never reapplied to something they no longer fit.

    The sidebar's case toggle now reads Match Case

    The filter field's "Aa" button was labelled "Case Insensitive" and started highlighted, which meant clearing the highlight made the search stricter — the opposite of what that icon does in Xcode, VS Code and Safari, and the opposite of every other button in that field, where a highlighted filter means "this option is in effect".

    It is now Match Case, unselected by default. The effective default is unchanged: searches still ignore case until you ask otherwise.

    Smaller changes

    • The attach sheet's application and process pickers are rendered as lists explicitly, rather than relying on the default style.
    • --update-packages now really updates: it drops the resolved workspace state that was feeding the old versions straight back in.
  10. 3.0.0-beta.1

    Развернуть

    Релиз GitHub

    v3.0.0-beta.1

    First public preview of the 3.0 line, and the largest single step since 2.0. The content pane can now be driven by Xcode's own source editor, injection reaches iOS Simulator processes, remote mirroring stops inventing ghost devices, and the sidebar's filtering and Open Quickly paths were rebuilt to stop doing their work on the main thread.

    This is a beta build — only clients that opted in via Settings → Updates → Include pre-release versions receive it.


    Xcode's Source Editor as the content view

    The content pane can now be backed by the editor Xcode itself uses, which brings code folding, sticky headers, a find bar, scope guides and ⌘-hover underlining without any of them being implemented here. On a 5 MB interface its worst frame is 9.43 ms against TextKit 2's 25.08 ms.

    • Opt-in, under Settings → Editor. Every failure path — no Xcode installed, an arm64e build, a missing bundle — falls back to the existing TextKit 2 view, because both are driven by the same view model.
    • The app links none of Xcode's frameworks. A link-time dependency on frameworks that live inside Xcode would abort in dyld before main on a machine without it, so the only code referencing those symbols sits in a loadable bundle that is dlopened on demand.
    • Jump to Definition and ⌘-click work in the new view, resolved against the same link attributes the TextKit path uses.
    • Syntax colouring comes from the parse rather than being painted over it, and the current-line highlight is now a theme slot like every other colour.
    • Margins, overlays, invisibles and mark separators are exposed as settings.

    Injecting iOS Simulator processes

    Attaching to a simulator process used to kill it. A macOS process and an iOS Simulator process on the same Mac share a cputype and differ only in LC_BUILD_VERSION, so nothing about the target's architecture revealed that it was being handed the macOS payload; dyld refused the slice, the daemon's remap fallback projected it anyway, and the kernel killed the process on page-in.

    • The target's platform is now read from its executable's LC_BUILD_VERSION, not guessed from its path.
    • The iOS Simulator slice ships as a sibling bundle and is selected by platform. A target with no slice to offer — a tvOS Simulator process, say — gets an explicit error instead of the nearest slice and dyld's verdict.
    • A simulator attach is confirmed by device and pid, since pids are not unique across booted simulators.

    Remote mirroring and Bonjour

    • Ghost devices are gone. A browse result that arrived before its TXT record made self-filtering, grouping and loop detection all fall back to the service name, so a Mac discovered itself and listed it as a stranger. Results are now held until their identity arrives, and the advertised service name is recognised as a local identity.
    • Every advertising process carries its own identity, so two engines on one host no longer collide.
    • The advertised name is the resolved device name and is stable across launches.
    • The Catalyst helper no longer registers itself in the injected-endpoint registry, where a reconnect scan would treat it as an injection target and displace the real engine.

    Persistence identity

    Bookmarks, sidebar expansion state and the sidebar's autosave key were each deriving their own key, one of them from a display name and one including a pid. All three now key on a stable RuntimeBookmarkScope, so bookmarks survive a process restart instead of disappearing without a word.

    Performance

    Roughly twenty changes, concentrated in three places:

    • Open Quickly materializes rows lazily on match, shares one haystack build per pass, ranks before capping at the top 500, and checks the generation before a pass starts. Previously every row of a 14 k-object image was built up front.
    • Sidebar filtering moved off the main thread, and root image-tree filtering with it.
    • Interfaces are cached per navigation, keyed by the object the interface names, so revisits skip the engine entirely; theme changes no longer re-fetch the text.
    • Per-image index state is released instead of being pinned for the engine's lifetime, and one-shot symbols demangle transiently.

    Under the hood

    • Navigation runs on AppKitPlus instead of Apple's private UXKit.
    • Settings are stored through UIFoundation's shared settings store, with the load and the final save owned explicitly rather than happening as a side effect.
    • The main menu is built in code; MainMenu.xib is gone.
    • Release builds refuse to publish without the iOS Simulator payload rather than shipping an app whose simulator injection silently fails.

    Upgrade notes

    The privileged helper's protocol version moves to 1.6.0, so the first launch after updating asks for administrator authorization to replace it. The daemon's connection and networking layers changed substantially in this release; without the replacement an installed client would keep running the old helper.

  11. 2.1.2

    Развернуть

    Редакция OpenNavo Добавлено в Homebrew

    СовместимостьmacOS 15 или новее

    Два исправления для v2.1.1: устранён сбой при проверке внедрённых приложений arm64e и исправлено удаление синтезированных setter.

    Исправления
    Исправлен сбой при проверке внедрённых приложений arm64e.Strip Synthesized Methods теперь удаляет setter и getter.
    Зависимости
    MachOSwiftSection обновлён до 0.15.2, MachOObjCSection — до 0.8.104.MachOKit обновлён до 0.52.101; добавлен MachOKitExtensions 0.1.1.Обновлены swift-semantic-string, swift-collections и swift-fileio.
    Обновление
    С v2.1.1: миграция и переустановка helper не требуются.С v2.0.x: применяются шаги v2.1.0, включая переустановку helper.

    RuntimeViewer 2.1.2 — выпуск с двумя исправлениями для v2.1.1. На arm64e проверка внедрённого приложения с включённым Print Enum Layout больше не приводит к сбою. Причиной было то, что при чтении runtime-разметки enum не удалялись биты аутентификации указателя из указателя на таблицу свидетелей значения Swift. Исправление внесено в MachOSwiftSection 0.15.2.

    Strip Synthesized Methods теперь распознаёт и удаляет также селекторы setter, оканчивающиеся двоеточием, наряду с getter. Раньше setter пропускались, а методы без аргументов с тем же основным именем могли удаляться ошибочно.

    Обновлены зависимости. MachOKit 0.52.101 при чтении разделённого общего кэша dyld разрешает сведения заголовков ObjC относительно нужного подкэша. Новый пакет MachOKitExtensions включает разрешение bind для старых бинарных файлов без chained fixups и ранжирование совпадений образов в кэше dyld. Также изменена упаковка: общая основа MachOKit и модули шаблонов комментариев перенесены в отдельные пакеты.

    При обновлении с v2.1.1 миграция и переустановка helper не нужны; протокол привилегированного helper не изменён. При обновлении с v2.0.x применяются инструкции v2.1.0, включая однократную переустановку helper при первом запуске.

    Официальные примечания к выпуску

  12. 2.1.1

    Развернуть

    Редакция OpenNavo Добавлено в Homebrew

    Хотфикс с одним исправлением для v2.1.0: устранён сбой при открытии Attach To Process во втором документе. После повторного открытия средство выбора больше не запоминает вкладку и выполняющуюся строку.

    Исправления
    Attach To Process больше не вызывает сбой при нескольких документах.Теперь для каждого документа используется отдельный лист.При повторном открытии вкладка и выполняющаяся строка не сохраняются.
    Обновление
    С v2.1.0: миграция и переустановка помощника не нужны.С v2.0.x: действуют примечания v2.1.0, включая разовую переустановку.

    RuntimeViewer 2.1.1 — хотфикс с одним исправлением для v2.1.0, удалённой из канала обновлений. Ранее документы использовали общий экземпляр контроллера, а контроллер представления можно было показывать только в одном окне одновременно. Поэтому открытие Attach To Process во втором документе, пока оно уже отображалось в первом, могло привести к аварийному завершению приложения. Теперь у каждого документа свой лист.

    В результате исправления средство выбора при повторном открытии больше не запоминает ранее выбранную вкладку и выполняющуюся строку.

    При обновлении с v2.1.0 не требуются ни миграция, ни переустановка помощника. Версия протокола привилегированного помощника не изменилась, поэтому установленный демон v2.1.0 продолжит работать. Для обновления с v2.0.x применяются примечания к выпуску v2.1.0, включая однократную переустановку помощника при первом запуске.

    Источник: https://github.com/MxIris-Reverse-Engineering/RuntimeViewer/releases/tag/v2.1.1

  13. 2.1.0

    Развернуть

    Редакция OpenNavo Добавлено в Homebrew

    Первый стабильный выпуск ветки 2.1. Добавлены навигация по вкладкам, специализация обобщений Swift, фоновая индексация, просмотр связей, пакетный экспорт, темы и установщик сред выполнения iOS Simulator.

    Просмотр
    Специализируйте обобщения Swift конкретными аргументами типов.Просматривайте подклассы и соответствующие типы во всех индексированных образах.Переходите к определениям Swift и смотрите битовые маски enum.Показывайте номера строк и контекстные заглушки загрузки.
    Работа
    Используйте историю каждой вкладки и открывайте содержимое отдельно.Индексируйте зависимости в фоне в настраиваемых режимах.Экспортируйте интерфейсы нескольких образов за одну операцию.Устанавливайте отсутствующие среды iOS Simulator в приложении.
    Другое
    Настраивайте темы, включая пресет Xcode и редактируемые цвета.Используйте путь remap для целей, отклоняющих стандартное внедрение.Исправлены обнаружение протоколов, Bonjour, экспорт и внедрение в Apple apps.Нужна macOS 15+; варианту iOS требуется iOS 18+.

    RuntimeViewer 2.1.0 — первый стабильный выпуск ветки 2.1. Он добавляет специализацию обобщений Swift, результаты поиска связей по всем индексированным образам, переход к определениям Swift и битовые маски компоновки enum. Фоновая индексация обнаруживает зависимости или отслеживает закреплённые образы; пакетный экспорт показывает ошибки по отдельности. Вкладки содержимого хранят собственную историю, а боковая панель получает группировку и фильтры по типам. Также добавлены настройки тем, номера строк, встроенный установщик сред iOS Simulator и путь внедрения на основе remap для целей, которые отклоняют стандартный способ внедрения.

    Исправлены проблемы обнаружения протоколов, внедрения в приложения Apple, обновления Inspector, навигации по боковой панели и окнам, пакетных операций Bonjour, проверки подключённых приложений и Mac Catalyst, а также разрешения метаданных экспорта. При первом запуске helper переустанавливается; потребуется одно подтверждение администратора и перезапуск. Это касается и пользователей RC. Для основного приложения и функций MCP требуется macOS 15+, для варианта iOS — iOS 18+. При обновлении с v2.0.x сохраняются закладки, настройки и подключения.

    Официальные примечания к выпуску

  14. 2.1.0-rc.3

    Развернуть

    Релиз GitHub

    v2.1.0-RC.3

    v2.1.0-RC.3

    Third release candidate on the 2.1 line. This one is almost entirely about what the app looks like while it is working: a sweep of the flashes, blanks and grey blinks that appeared whenever you clicked from one type to another, plus a loading placeholder built to not become the flicker it exists to hide.

    Alongside that, three correctness fixes — the Dock icon reopening a window, attached daemons showing their real icon, and code injection choosing its path from the whole rule rather than half of it.

    This is a beta build — only clients that opted in via Settings → Updates → Include pre-release versions receive it.


    What's New

    Content-shaped loading placeholders

    Panes that fetch their content asynchronously now stand in a placeholder shaped like the content it replaces, instead of leaving the previous type's data on screen until the new one arrives.

    The placeholder is deliberately hard to catch sight of. Engine calls that hit a warm cache return in single-digit milliseconds, so anything drawn the moment work starts would appear and vanish inside one frame — a flash in its own right. Work that finishes quickly now shows no placeholder at all, and a placeholder that does appear stays long enough to read, measured from when it appeared, so genuinely slow work is never delayed further.

    Quit After Closing Last Window

    Settings → General → Windows gains a Quit After Closing Last Window toggle. It is off by default, which is the existing behaviour: the app stays resident with no window open and a Dock icon click brings a window back. Turn it on to have RuntimeViewer behave like a single-purpose utility that exits with its last window.


    Bug Fixes

    The Inspector no longer blanks when you switch types

    Clicking from one runtime object to another emptied the Inspector's list and refilled it once the query returned. Relationships unions its results across every indexed image, so that gap was long enough to read as a flash rather than a redraw.

    The Inspector had been reusing its view controllers, but it still built a fresh ViewModel per object and rebound it, which tore down the table's data binding and installed a fresh one starting from an empty list. The tab ViewModels are now bound once and handed the new object instead. Re-entering the same object — closing a tab, moving the history cursor — short-circuits entirely, so it neither refetches nor flashes a placeholder over content that is already correct.

    This also fixed a real defect hiding behind the visual one: the old load had no cancellation, so on rapid selection an earlier query could return late and overwrite a newer object's rows.

    Sidebar selection no longer blinks grey

    Two separate causes, both of which repainted the sidebar's selected row in the inactive grey for a frame or two:

    • Clicking a related type stole keyboard focus. A row highlight is drawn unemphasized whenever its table is not the first responder, so the Inspector taking focus greyed out the sidebar row the user was actually looking at — for focus the app handed straight back some 50ms later. The Relationships and Specializations lists exist only to be clicked through, so they now refuse first responder and paint no highlight of their own. Clicking, selecting and navigating are unaffected; only arrow-key traversal inside those two lists is gone, and every arrow press there navigated away anyway.
    • Jumping to a type selected the row before scrolling to it. An outline view materializes a row only as it scrolls into view and applies the emphasized selection style after that, so the target row was drawn once in grey and flipped to the accent colour on the next frame. Scrolling first — and forcing the layout the scroll would otherwise defer — puts both in the same frame.
    The tab strip no longer flashes when the tab set changes

    Changing the inspected kind rebuilds which Inspector tabs exist — selecting a protocol after a class drops the Hierarchy tab. The strip used to remove every tab and add the new set back, which swapped the visible view several times inside one runloop pass. Tabs that survive the change now keep their view throughout, and only tabs that genuinely appear or disappear cost anything.

    Attached daemons show their real icon

    Attaching to a daemon such as launchservicesd left the source menu showing an App Store placeholder symbol. The icon cache is populated only from Launch Services registered GUI applications, so a daemon never landed in it and every lookup fell through to the placeholder. Daemons now fall back to the generic executable icon — the same one the attach picker already shows for them.

    Clicking the Dock icon reopens a window

    AppKit's built-in reopen handling only creates a window when it sees no visible window at all, and it counts every window the app owns. With Settings or a Sparkle update alert still on screen, clicking the Dock icon after closing every document window therefore appeared to do nothing. RuntimeViewer now decides on document windows alone, restoring a minimized or ordered-out one before falling back to a new untitled document.

    Code injection picks its path from the whole rule

    Attaching to Music failed silently — nothing loaded on the target side, and no error was reported. Two causes stacked. Routing between the two injection paths consulted only the target's sandbox, which catches strict-seatbelt daemons but says nothing about AMFI library validation; and Music, like every Apple application, enforces library validation, which refuses a developer-signed payload regardless of what the sandbox allows. The dlopen it was routed onto could never have loaded anything, while the injector's shellcode reported success anyway.

    The decision now lives in the helper daemon, which consults both the seatbelt predicate and the code-signing flag, so Apple applications are routed onto the mach_vm_remap path instead of one that cannot work. The investigation — the csops status words separating the two target classes, the controlled experiment isolating library validation from the payload's signature — is written up in Documentations/ResolvedIssues/.

    A second instance no longer reports a phantom MCP server

    Binding the MCP bridge port fails whenever another RuntimeViewer instance already holds it. That failure used to stop at a log line: the losing instance still wrote the port file, still reported itself as running, and kept its fully allocated network transport — 28 event loops, 56 threads, roughly 21 MiB — resident for the lifetime of the process. It now tears the transport down, truthfully reports itself stopped, and leaves the winning instance's port file alone. A regression test covers the contention scenario end to end.


    Build & Tooling

    • Both package manifests agree on the same swift-helper-service floor, so the two halves of the app can no longer resolve different helper protocols.
    • The Core package pins every remote dependency it parses Mach-O with, so a fresh checkout reproduces a known-good set instead of resolving freely.
    • The release process, the documentation index, and the branching model are written down under Documentations/.

    Carried Over From RC.1 and RC.2

    Everything in v2.1.0-RC.1 and v2.1.0-RC.2 ships unchanged — multi-tab content navigation, generic type specialization, background indexing, the Relationships inspector, batch export, theme settings, jump to definition, line numbers, strict-seatbelt daemon injection, the iOS Simulator runtime installer, and the Objective-C protocol listing fix for images caught in a dyld dependency cycle.

  15. 2.1.0-rc.2

    Развернуть

    Релиз GitHub

    v2.1.0-RC.2

    v2.1.0-RC.2

    Second release candidate on the 2.1 line. A single, high-impact correctness fix over v2.1.0-RC.1: images caught in a dyld dependency cycle — UIKitCore and Foundation among them — listed no Objective-C protocols at all.

    This is a beta build — only clients that opted in via Settings → Updates → Include pre-release versions receive it.


    Bug Fixes

    Objective-C protocols reappear for UIKitCore, Foundation, and friends

    Opening UIKitCore showed an empty protocol list. Foundation showed no NSCoding, NSCopying, or NSFastEnumeration. Classes, categories, and C structs were listed normally, so the image itself parsed fine — only protocols went missing, and they went missing entirely rather than partially.

    The cause was a protocol-ownership heuristic. Because the compiler emits a full protocol_t into every image that saw a @protocol declaration at compile time, __objc_protolist carries plenty of protocols an image merely imported. The heuristic dropped a protocol whenever some other carrier of it sat in the image's transitive dependency closure — which relied on an image never appearing in its own closure. dyld's upward dependencies (LC_LOAD_UPWARD_DYLIB) exist precisely to express cycles, so UIKitCore ↔ PrintKitUI/ShareSheet and Foundation ↔ CoreFoundation each put an image inside its own closure. Every protocol it carried was then classified as imported, and the listing came back empty.

    Nothing in the Mach-O format records a defining image for a protocol, so attribution can only ever be a heuristic — and this one failed silently, with no error to hint that anything had been dropped. The filter is gone; __objc_protolist is now listed verbatim. Some imported protocols reappear as noise you can see and judge for yourself, which is the better failure mode: a protocol that is silently absent is not.

    Images outside a dependency cycle — AppKit, SwiftUI, CoreData, QuartzCore, WebKit, Photos — were never affected and are unchanged.

  16. 2.1.0-rc.1

    Развернуть

    Релиз GitHub

    v2.1.0-RC.1

    v2.1.0

    The first stable release on the 2.1 line. Fifteen headline features across runtime inspection, indexing, navigation, appearance, and code injection — built up over nine public betas and consolidated here.

    Beta-channel users who have been running v2.1.0-beta.* can switch back to the stable channel with no reinstall: this build supersedes the last beta.


    Highlights

    • Multi-tab content navigation with a window tab bar and per-tab history
    • Generic type specialization — inspect Swift generics with concrete arguments filled in
    • Background indexing — the sidebar is ready when you click into it, not seconds later
    • Inspector → Relationships — a class's subclasses, a protocol's conforming types
    • Batch export interfaces for multiple images in one pass
    • Theme settings with a data-driven color model and a built-in Xcode preset
    • Jump to Definition for Swift type references
    • Line numbers in the content view
    • Injection into strict-seatbelt daemons via mach_vm_remap
    • iOS Simulator runtime installer built in

    What's new

    Runtime inspection
    Generic Type Specialization

    Pick any Swift generic from the sidebar and a new Specialize… sheet lets you fill in its type parameters. The Inspector renders the fully specialized interface alongside the original unspecialized form.

    • Nested generics work — if an argument is itself generic, you can drill in and fill those parameters in the same sheet.
    • Type definitions can come from a different binary than the generic itself, so you can specialize types in framework A with a model from framework B loaded in the same document.
    • Invalid combinations are caught up front with a clear error instead of silently producing garbage.
    Inspector → Relationships

    A new Relationships tab sits between Hierarchy and Specialization. Select a class to list its direct subclasses; select a protocol to list the types conforming to it. Results are gathered across every indexed image, not just the one defining the type.

    Jump to Definition for Swift types

    Command-click a Swift type reference in the content view to navigate to its definition, the same way you already could for Objective-C.

    Enum layout fixed-bit masks

    The Swift enum-layout view now surfaces fixed-bit masks for each case, giving you the exact bit pattern the runtime uses to discriminate cases without having to read it out of the raw metadata.


    Indexing & batch operations
    Background Indexing

    Once a document opens, RuntimeViewer walks the dylib dependency graph and starts indexing related binaries in the background, so by the time you click into them they are ready to inspect.

    • A new toolbar progress popover shows what is currently indexing, lets you cancel any individual batch, and keeps a history of recent runs.
    • Selecting a binary that is still in the queue immediately bumps it to the front.
    • Background work runs at low priority and never makes the main UI stutter.
    • A new Settings → Indexing page controls how aggressively background indexing runs (or turns it off entirely).
    Always Index list + master switch

    The Indexing settings page grew a master switch plus two independently toggleable sub-modes:

    • Heuristic Discovery — main-executable BFS at document open and engine swap, with configurable depth (1–5).
    • Always Index — a user-editable list where each row pins a single image (full path or file-name shorthand). Toggle Follow Dependencies on a row to also walk its dependency closure.

    The batches popover groups its active and history sections by reason (Heuristic Discovery / Always Index / Manual) under collapsible headers.

    Batch Export

    Export the interfaces of multiple images in one pass without opening each document individually.

    • New File → Export Multiple Images… entry walks you through image selection, format selection, and destination directory in a single sheet.
    • Per-language format choices (Objective-C .h, Swift surface, etc.) are remembered across runs.
    • The completion summary uses stat cards to show how many files succeeded, failed, or were skipped, and lists each failure individually so you can re-run only what broke.
    • Long Swift-mangled names no longer produce APFS NAME_MAX errors mid-batch.
    iOS Simulator Runtime Installer

    A new built-in installer downloads and installs missing iOS Simulator runtime images directly from the app — no more chasing them down through Xcode.


    Navigation & windowing
    Multi-Tab Content Navigation

    The main window now hosts multiple content tabs, so several runtime objects can be open side by side instead of replacing one another in a single pane.

    • Window tab bar drives content navigation directly from the title bar.
    • Open in New Tab is available both from content-view type links and from sidebar rows, with a matching menu icon.
    • Each tab keeps its own navigation timeline.
    • Tabs are keyed by identity, and Close Tab / Close Window with ⌘W re-bind against the current key window automatically.
    Selection History & Navigation Menu

    The toolbar drives back / forward navigation off a true selection-history cursor, the way Xcode and Finder do.

    • Picking a sidebar item, drilling into a type, and switching between Hierarchy / Relationships / Specialization tabs all push onto the same stack.
    • A Navigation History menu exposes the full per-tab timeline.
    • The buttons enable / disable based on what's actually in the history, so you never end up clicking back into nothing.
    • The active inspector tab is preserved across selections.
    Smarter Sidebar Expansion
    • Single-clicking a non-leaf row now expands it (matching the rest of macOS).
    • A new setting caps how deep a double-click expands an entire subtree, so you can preview a framework without exploding hundreds of children.
    Sidebar Grouping & Filter Scope
    • Runtime objects are grouped into kind sections (classes, protocols, categories…) instead of a flat list.
    • A new Filter Scope popover in the sidebar lets you prefilter by kind and property before typing, so the search corpus stays focused.

    Appearance & editing
    Theme Settings

    A new Theme settings panel with a data-driven color model. Pick from built-in presets (including an Xcode-matching one) or edit colors directly. Themes drive the content view, inspector, and all syntax-highlighted surfaces from a single source, and changes apply live.

    Line Numbers in the Content View

    A line-number gutter runs down the left edge of the interface text view, handy for cross-referencing decompiled or exported output.


    Code injection
    Injection into Strict-Seatbelt Daemons

    System daemons that opt into the strict seatbelt (e.g. sharingd, rapportd) can now be injected via a mach_vm_remap-based path, which previously refused to load the runtime dylib. Everyday injection targets continue to work unchanged; the new path only kicks in when the standard route is blocked.


    Improvements

    • Popovers (generation options, MCP status, background-indexing, type picker) now size themselves to their content instead of defaulting to a fixed 500×500 box.
    • The Specialization type picker no longer blocks the UI when a generic parameter has a wide constraint (10k+ candidates) — the list is built off the main thread with a loading indicator, and rows are constructed lazily as you scroll.
    • Sidebar filtering skips the debounce when the query is empty, so clearing the field feels instantaneous.
    • The Mirror menu icon was refreshed and the toolbar no longer shows an empty overflow chevron on macOS 15 when its items are hidden.

    Bug fixes

    • Bonjour crash on batched receives. Inspecting an iOS / visionOS / Apple TV target over Bonjour, or pushing a batch-export through a Bonjour connection, no longer crashes when a single network read carries many small frames.
    • Attached-app and Mac Catalyst inspection. The Inspector no longer fails with "An unknown error occurred" when the runtime engine is reached through a proxy hop; loading progress now streams across the hop instead of getting stuck at "Preparing…".
    • Per-image ObjC protocol lists no longer include protocols imported from dependencies; each image now lists only the protocols it defines.
    • Nested sidebar specializations keep their identity across sidebar rebuilds instead of collapsing or re-shuffling.
    • Text view re-entry rebuilds a fresh content view when returning from another scene, fixing a case where the pane appeared blank.
    • Export module metadata resolution fixed (#72).
    • Numerous smaller stability fixes across the sidebar, inspector, and document lifecycle.

    Platform requirements

    • Main app: macOS 15+
    • MCP features: macOS 15+
    • iOS variant: iOS 18+

    Upgrade notes

    • Helper Service — the privileged helper daemon is bumped and will reinstall itself automatically on first launch after upgrade. You will be prompted for admin credentials once and then asked to restart the app.
    • Beta channel users — this build supersedes v2.1.0-beta.9; no reinstall is required to switch back to the stable channel.
    • From v2.0.x — no manual migration steps. Bookmarks, settings, and connections carry over as-is.
  17. 2.1.0-beta.9

    Развернуть

    Релиз GitHub

    v2.1.0-beta.9

    Ninth public preview of the 2.1 line. Where beta.8 was a release-pipeline repair that carried the beta.7 payload forward unchanged, this build ships the substantial feature work accumulated since then: multi-tab content navigation, remap-based code injection for hardened daemons, and a batch of runtime-engine and transformer fixes.

    This is a beta build — only clients that opted in via Settings → Updates → Include pre-release versions receive it.


    Multi-Tab Content Navigation

    The main window now hosts multiple content tabs, so several runtime objects can be open side by side instead of replacing one another in a single pane.

    • Window tab bar drives content navigation directly from the title bar.
    • Open in New Tab is available both from content-view type links and from sidebar rows, and the sidebar context-menu entry now carries a tabbar.top.rectangle icon to match the app's other iconized menus.
    • Navigation history menu exposes the per-tab back/forward timeline, with the toolbar title sourced from a single source of truth.
    • The navigation timeline is now decoupled from tabs, so history is tracked per navigation context rather than being tied to tab lifetime.
    • Tabs are keyed by identity; Close Tab / Close Window and the dynamic ⌘W binding are re-keyed against the current key window.
    • Tab-close races and stale text/inspector rebuilds were hardened, the tab bar accessory is sized from its frame, and the title-bar accessory is installed after the window frame is set.
    • Sidebar bookmark context-menu items were restored after the tab-bar rework.

    Code Injection

    Injection into strict-seatbelt daemons now goes through a memory-remap path instead of the previous hand-rolled runtime handoff.

    • New mach_vm_remap-based injection dispatches strict-seatbelt daemons via a file-map-executable probe and remap wiring.
    • The server exposes runtime_viewer_server_start for the remap loader, and the runtime handoff now defers to the MachInjector loader.

    Runtime Engine & Transformer

    • Enum-layout fixed-bit masks are surfaced in the transformer, and SwiftEnumLayout is synced with the detailed enum-layout model.
    • Swift transformer templates are deferred to SemanticTransformer.
    • Restored absolutePath serialization for image bookmarks.
    • Runtime image node state is encapsulated behind reactive outline selection predicates; connections are released during teardown, injected-engine connectivity is verified on attach, and the handshake-timeout error message is clearer.

    Dependencies

    • UIFoundation 0.14.0 — system tab metrics and the TabBar rename.
    • MachOSwiftSection 0.13.0 (module rename to OutputTransformer).
    • MachInjector 0.4.2 (MIMachInjectorRemap).
    • RxAppKit 0.5.4 for the reactive outline selection predicates (rx.shouldSelectItem) behind the sidebar and background-indexing pickers.
    • swift-helper-service 0.1.4 for remap injection.
    • SwiftyXPC 0.5.103.

    Resolved pins were refreshed to the latest published tags across the release workspace; the build resolves the full graph from remote tags with no local package checkouts.


    Carried Over From beta.8

    All build-and-tooling changes from v2.1.0-beta.8 ship unchanged, including the clean remote-dependency release builds and the refreshed distribution pins.

  18. 2.1.0-beta.8Релиз GitHub
  19. 2.1.0-beta.7

    Развернуть

    Релиз GitHub

    v2.1.0-beta.7

    Seventh public preview of the 2.1 line. It re-issues the (withdrawn) beta.6 payload and adds the one piece that build was missing: a helper-service version bump so the new daemon binary is actually reinstalled on upgrade. The rest of the headline is internal: the runtime engine now builds against MachOSwiftSection 0.12.0-beta.5, whose Swift-interface extraction was split into layered modules (SwiftDeclaration / SwiftIndexing / SwiftPrinting / SwiftSpecialization / SwiftInterface). Around that, this build lands a batch of fixes for proxy-reached engines (Mac Catalyst helper, attached apps), centralizes the cross-process communication layer, and preserves nested specialization identity in the sidebar. The in-house coordinator and UI packages are now consumed from their published remotes, so a clean clone resolves without the sibling checkouts.

    This is a beta build — only clients that opted in via Settings → Updates → Include pre-release versions receive it.


    Bug Fixes

    Helper daemon now reinstalls itself on upgrade

    The proxy/communication work below changed the daemon wire format (the progress envelope and renamed progress channel), but RuntimeViewerServiceVersion stayed at 1.2.0, so checkServiceVersionAndReinstallIfNeeded() saw a matching version and never re-registered the privileged helper. A client upgrading from beta.5 would keep running the old 1.2.0 daemon against the new wire format and fail with "An unknown error occured". The service version is bumped to 1.3.0, which forces an automatic unregister + register of the helper on first launch; the app prompts for a restart once the new daemon is live.

    Proxy-reached client engines no longer run in the wrong process

    The RuntimeEngineRequest unification regressed any engine reached through RuntimeEngineProxyServer when the proxied engine is itself a client of another process (the Mac Catalyst helper, attached apps). Shared request handlers called request.perform(on:) directly, so the local implementation ran inside the proxy host process — loadImage dlopen'd /System/iOSSupport/… images on the wrong side and surfaced as "An unknown error occured" on the remote peer. Handlers now route through engine.dispatch(_:): client engines forward upstream while server / local engines keep executing locally.

    Loading progress also never crossed the proxy hop, leaving remote hosts stuck on "Preparing…" until completion. The hand-rolled objectsLoadingProgress side channel is replaced by a RuntimeEngineProgressRequest pipeline — requests ride a {progressToken, request} envelope, progress flows back as token-routed progressEvent pushes, and chained proxies relay automatically with no per-command code. Token routing also stops concurrent loads from cross-talking on the previously shared subject.

    Wire-format note: runtimeObjectsInImage now ships the progress envelope and the progress channel was renamed, so peers (Server / helper / injected dylib) must be rebuilt from this revision.

    Communication layer centralized and hardened

    The per-transport receive loop is consolidated into a single RuntimeMessageChannel so the four transports (LocalSocket, DirectTCP, Bonjour, XPC) stop diverging, closing several failure modes — each reproduced by a test first in the new ConnectionTransportRegressionTests:

    • No deadlock / head-of-line blocking. Responses route inline; fire-and-forget handlers run on a serial tail and response-producing handlers run concurrently. A handler awaiting a reply over the same connection no longer deadlocks the loop, and a slow handler no longer blocks other in-flight requests.
    • Fail fast on unrouted requests. A request that hits no handler, or whose handler throws, now replies with a nonce-routed error envelope (new isError flag) carrying the real message, instead of hanging on a nil timeout or surfacing an opaque DecodingError.
    • Trailing-message delivery. An NWConnection chunk is consumed before acting on isComplete, and buffered frames drain before the dispatch stream finishes, so a final message coalesced with the FIN is still delivered.
    • Transport robustness. DirectTCP gets a .waiting tolerance window (parity with Bonjour), EINTR is retryable in the socket recv loop, the local socket server's pending-handler state is locked, and the receive-buffer scan is now O(n) via a persisted offset.

    Core-side, RuntimeEngine connection-state events are serialized through a single consumer to stop reorderings, and the proxy server drops stale push relays on reconnect to avoid duplicate pushes.

    Per-image ObjC listing drops imported protocols

    __objc_protolist carries a protocol_t for every protocol whose @protocol was in scope at compile time, so each framework redundantly listed its dependencies' protocols (NSObject, CALayerDelegate, …). With no authoritative defining-image signal, ownership is now attributed via a one-time whole-shared-cache scan: an image owns a protocol unless a carrier of it sits in the image's transitive dependency closure. Per-image protocol lists are correspondingly tighter.

    Nested sidebar specialization identity preserved

    Specialization identity moved off RuntimeObject and onto the sidebar cell view-model, and derived nested specializations now register under a dedicated case. Together these preserve the runtime specialization tree's identity across sidebar rebuilds, so nested specializations no longer collapse or re-shuffle when the list is rediffed. A related equality bug is also fixed: Candidate equality now includes id and isGeneric (via @Equatable), so two candidates differing only in those fields no longer compare equal while hashing differently — fixing the RuntimeSpecializationCandidateTests divergence.

    Text scene controller rebuilt on re-entry

    The cached ContentTextViewController avoids the UXKit push-transition flash when rebinding on every sidebar selection, but reusing it after the content area had left the text scene rebound a controller whose view was already displaced from the hierarchy. A fresh instance is now created when entering from another scene; in-scene selection changes keep the cached one.

    Export module metadata resolution

    Fixes module metadata resolution during export (#72).


    Improvements

    Popovers presented through the UXPopover transition

    The generation-options, MCP-status, background-indexing, and specialization type-picker popovers now present through .uxPopover / .closeUXPopover instead of the native .asPopover presentation, which ignored preferredContentSize and mis-sized UXKit content (defaulting to 500×500). The generation-options row also raises its horizontal hugging priority so its width stops being ambiguous against the outer stack.


    Dependencies

    • MachOSwiftSection → 0.12.0-beta.5. Adopts the layered module split (SwiftDeclaration / SwiftIndexing / SwiftPrinting / SwiftSpecialization / SwiftInterface) and the accompanying type renames (SwiftInterfaceIndexer → SwiftDeclarationIndexer, SwiftInterfacePrintConfiguration → SwiftDeclarationPrintConfiguration, …). Pinned to the exact tag while the upstream refactor is in flight.
    • MachOObjCSection 0.7.102 → 0.7.103.
    • Coordinator / UI packages now consumed from their published remotes so a clean clone resolves without the sibling repos: CocoaCoordinator (now 0.5.0), UXKitCoordinator, OpenUXKit, UIFoundation, XCoordinator, and RxSwiftPlus.
    • Resolved-pin refresh across the workspaces: FrameworkToolbox 0.7.1, Ifrit 4.0.0, SnapKit 6.0.0, SFSymbols 0.3.0, Semaphore 0.1.1, plus latest in-range patches for swift-asn1, swift-clocks, swift-collections, swift-dependencies, and xctest-dynamic-overlay (no manifest constraints changed).

    Build & Tooling

    These are developer-facing only and do not affect shipped Release builds (which keep the fixed com.mxiris.runtimeviewer.service identity):

    • Debug-arm64e gets a fully distinct identity so it no longer collides with a plain Debug build — service dev.arm64e.mxiris.runtimeviewer.service, app RuntimeViewer-Debug-arm64e (dev.JH.RuntimeViewer.arm64e). The two launch-service targets are merged into one whose product name is selected per configuration, with the LaunchDaemon plist generated at build time from a single template. The mach-service name is resolved at compile time via #if RUNTIMEVIEWER_ARM64E, which reaches the injected RuntimeViewerServer dylib that has no readable Info.plist.
    • DerivedData / SourcePackages are routed to a dedicated cache volume when present (falls back to a project-relative path on CI), keeping checkouts out of the project tree.
    • The development team ID is set directly in the project instead of going through an external xcconfig / environment override.

    Carried Over From beta.5

    All changes from v2.1.0-beta.5 ship unchanged — the Always Index list, the Background Indexing master switch plus two sub-modes, the reason-grouped indexing popover, and the remote-Server background-indexing fix.

  20. 2.1.0-beta.5

    Развернуть

    Релиз GitHub

    v2.1.0-beta.5

    Fifth public preview of the 2.1 line. Clears the v2.1.0-beta.4 known-issue on remote-Server background indexing, ships the new Always Index list (re-rolled from the build that beta.4 had to revert), and reorganizes the Background Indexing settings into a master switch plus two independently toggleable sub-modes.

    This is a beta build — only clients that opted in via Settings → Updates → Include pre-release versions receive it.


    Bug Fixes

    Remote-Server background indexing no longer stalls image loading

    beta.4 documented the ping-pong: when the Server side of a remote engine (iOS Simulator, iPad / iPhone over Bonjour, etc.) had background indexing on, LoadImageForBackgroundIndexingRequest dlopen'd the peer's own main executable and returned DyldOpenError. The error payload carried no identifier, the peer envelope-decoded it as keyNotFound, and both sides ping-ponged on the shared sendSemaphore — image-list pushes, indexing progress, and on-demand object requests all starved.

    Two coordinated fixes ship in this build:

    1. _loadImageForBackgroundIndexing short-circuits already-loaded images. The BFS routinely visits the peer's own main executable, which dlopen refuses to re-open by definition; on iOS Simulator it also hits system images whose canonical path differs from dyld's runtime form due to DYLD_ROOT_PATH rewriting. Checking imageList first avoids the spurious DyldOpenError at source.

    2. canOpenImage / rpaths / dependencies now dispatch instead of reading the client process's dyld directly. The protocol's "pure local check" assumption only ever worked on the local engine; remote engines were silently returning empty dependency lists from the client-side DyldUtilities.machOImage lookup, so BFS got stuck at the root and batches only ever indexed the main executable instead of its full dependency closure. (Wire-format addition: RuntimeDependencyEntry replaces the tuple-typed dependencies return value at the dispatch seam — tuples aren't Codable. The manager-facing API is unchanged.)

    Communication-layer hardening: per-round-trip nonce + swallow decode failures

    Adjacent to the indexing fix, the request/response channel itself got two structural fixes that prevent any future peer-handler failure from amplifying into a ping-pong:

    • Per-round-trip nonce. sendRequest used to hold sendSemaphore from wait-to-resume, so a slow peer handler (e.g. 20 s of section parsing during background indexing) monopolized the channel and blocked every other in-flight send at the local outbox. Each round trip now stamps a UUID nonce, pendingRequests keys by nonce, and the semaphore releases as soon as the write returns; concurrent sends wait on responses in parallel and identifier-keyed collisions on the routing table are impossible. Wire format is backward compatible — nonce is optional and absent values fall back to identifier-keyed routing.
    • Decode-failure arm swallows silently. The receive catch arm previously echoed a bare RuntimeNetworkRequestError with no identifier when envelope decode failed, which is what fed the beta.4 ping-pong. It now splits into two arms: decode failures swallow silently; handler failures echo via the same nonce-keyed envelope used by successful responses, so the peer routes the error back to its matching pending entry instead of re-echoing.

    New Features

    Always Index list

    The user-configurable Always Index list shipping in beta.5 is the re-rolled version of the feature that beta.4 had to back out at archive time. Each row pins a single image — either a full path (starting with /) or a file-name shorthand matched against the loaded image list by last-path-component — and the background indexer runs that image through a batch every time a document opens, the runtime engine changes, or the list itself changes.

    Toggle Follow Dependencies on a row to also walk the image's dependency closure using the same depth as Heuristic Discovery; otherwise only the image itself is indexed.

    Entries that don't match any loaded image are silently skipped and re-tried on the next fullReload — useful for remote engines whose imageList populates asynchronously after documentDidOpen.

    Background Indexing: master switch + two sub-modes

    The Background Indexing settings have been reorganized from a single toggle into a master switch plus two independently toggleable sub-modes:

    • Master switch (Enable Background Indexing) — overall on/off. When off, neither sub-mode runs.
    • Heuristic Discovery — main-executable BFS at document open and engine swap. Configurable depth (1...5) lives under this sub-mode.
    • Always Index — the new list described above.

    Max Concurrent Tasks is shared between sub-modes. Each toggle reacts independently: turning Heuristic Discovery off mid-run cancels only heuristic batches; Always Index batches keep running, and vice versa. Flipping the master switch off cancels everything.

    Background Indexing popover: grouped by reason

    Each section (ACTIVE / HISTORY) now groups its batches by reason category — Heuristic Discovery / Always Index / Manual — under a collapsible header instead of rendering one flat list of batches. Always-index groups flatten one level (entry → item) so single-image rows show the user-supplied identifier directly.


    Improvements

    RuntimeMessageChannel stack-overflow guards rolled back

    The snapshot-before-loop and AsyncStream<Data> consumer fixes from beta.3's bec9f4b were a workaround for the @Mutex _modify coroutine pinning that already got removed in beta.4 (0fdca62 fix(communication): revert @Mutex macro back to manual Mutex<T>). With the real trigger gone, the guards were dead weight and the strictly serial drain was incidentally compounding latency when a peer echoed handler errors at high rate. Reverted in aa8ba43.

    RuntimeEngine.imageNodes exposed as nonisolated

    imageNodes is now a nonisolated getter backed by the underlying CurrentValueSubject; mutations still go through the actor-isolated setImageNodes(_:). Synchronous call sites no longer need an await hop, which is what gates the Export Multiple Images menu item on imageNodes.count >= 2 inside validateMenuItem (which runs on the main thread and can't suspend).


    Dependencies

    • UIFoundation 0.10.0 → 0.10.2 (visual-effect opt-out hook, safe-area anchoring on macOS 11+).
    • RxAppKit 0.4.0 → 0.5.0 (drives rx.itemSelected off selectionDidChangeNotification so keyboard / type-select selection events surface alongside clicks — already relied on by the type-select navigation debounce shipped in beta.4).
    • swift-dependencies 1.12.0 → 1.13.0 (declares the trait set the resolved graph enables; required by release-channel resolves under USING_LOCAL_DEPENDENCIES=0).

    Carried Over From beta.4

    All changes from v2.1.0-beta.4 ship unchanged:

    • @Mutex macro dropped from RuntimeMessageChannel; back to the hand-rolled Mutex<T> + withLock form from beta.1.

    And from v2.1.0-beta.3 the MachOSwiftSection 0.12.0-beta.3 bump and the wider remote-pin refresh.

    And from v2.1.0-beta.2 the Inspector Relationships tab, Batch Export, selection history, and the underlying communication-layer hardening.

  21. 2.1.0-beta.4

    Развернуть

    Релиз GitHub

    v2.1.0-beta.4

    Fourth public preview of the 2.1 line. Re-rolls the Bonjour crash fix from beta.3: beta.3's release binary still overflowed the dispatch-queue worker stack inside AsyncStream.yield. Everything else carries over from beta.3 unchanged.

    This is a beta build — only clients that opted in via Settings → Updates → Include pre-release versions receive it.


    Bug Fixes

    Bonjour-connection crash regression vs. beta.3

    beta.3 shipped two coordinated fixes for the original v2.1.0-beta.2 EXC_BAD_ACCESS on a Bonjour batched receive:

    • snapshot RuntimeMessageChannel's @Mutex-backed properties into locals before the hot loop, and
    • bridge RuntimeNetworkConnection.onMessageReceived through an AsyncStream<Data> drained by one long-lived consumer task.

    In debug builds the combination was enough. In release, the binary still crashed in AsyncStream._Storage.yield with a stack-guard fault — the crash backtrace showed two RuntimeViewer offsets (0xe88a0 / 0x6c33c) recursing tightly inside a single connection.receive callback on the com.RuntimeViewer.RuntimeViewerCommunication.RuntimeNetworkConnection queue. The @Mutex macro's _modify coroutine accessor still pinned coroutine context on the caller's frame across iterations even with the snapshot in place, just less of it.

    This build drops the @Mutex macro from RuntimeMessageChannel entirely and goes back to the hand-rolled Mutex<T> + withLock form that shipped in v2.1.0-beta.1 (which never crashed on this path). withLock is a plain synchronous function — no coroutine, no caller-frame pinning, the stack unwinds cleanly between iterations.

    The buffered-stream bridge from beta.3 stays in place: callback only does a non-blocking yield and the long-lived consumer task drains handleReceivedMessage off the dispatch-queue stack.


    Carried Over From beta.3

    All changes from v2.1.0-beta.3 ship unchanged:

    • MachOSwiftSection 0.12.0-beta.3 bump (opaque-type symbolic-ref fix + SymbolIndexStore self-cleanup + SharedCache management API).
    • Remote-pin refresh across RuntimeViewerCore / RuntimeViewerPackages to the current latest tag of each non-pinned dependency.
    • ArchiveScript: force-checkout in the detached-HEAD branch so the appcast PR step no longer aborts on archive-time Package.resolved drift.

    And from v2.1.0-beta.2 the Inspector Relationships tab, Batch Export, selection history, and the underlying communication-layer hardening.

  22. 2.1.0-beta.3

    Развернуть

    Релиз GitHub

    v2.1.0-beta.3

    Third public preview of the 2.1 line. Stability focus on top of beta.2: one critical crash fix in the Bonjour-based network connection, plus a MachOSwiftSection bump that picks up an SwiftUI-related opaque-type parsing fix. Everything else carries over from beta.2 unchanged.

    This is a beta build — only clients that opted in via Settings → Updates → Include pre-release versions receive it.


    Bug Fixes

    Crash on Bonjour-routed peers under batched receives

    Inspecting an iOS / visionOS / Apple TV target over Bonjour, or pushing a batch-export through a Bonjour connection, could crash with EXC_BAD_ACCESS once a single NWConnection.receive carried more than a few dozen small frames (heartbeats, acks, or export chunks). The crash hit the connection's dispatch-queue worker thread with a 13_000+ frame stack overflow.

    Two compounding factors fed the overflow on this code path:

    1. RuntimeMessageChannel's message-dispatch loop accessed two @Mutex-decorated properties (receivedDataContinuation, onMessageReceived) on every iteration. The macro-generated _modify coroutine accessor pinned ~280 bytes of coroutine context on the caller's frame per access and the frames did not unwind between iterations.

    2. RuntimeNetworkConnection.observeIncomingMessages spawned a fresh Task { await handleReceivedMessage(data) } for each message inside that same loop, adding another ~10 frames per iteration on top of (1).

    The fix:

    • The dispatch loop now snapshots both properties into locals before the hot loop, so each iteration only touches local variables and the _modify coroutine frames no longer accumulate.
    • RuntimeNetworkConnection now matches RuntimeLocalSocketConnection and RuntimeDirectTCPConnection: the callback only does a non-blocking yield into an unbounded AsyncStream<Data>, and one long-lived consumer task drains it. Early messages yielded before the consumer task reaches for await are buffered, preserving FIFO across the entire receive burst.

    Regression tests cover a 10k-message burst delivered from a dispatch queue plus a disabled reproducer that replays the pre-fix per-message-Task shape for manual verification.

    Cross-image opaque-type parsing crash (via MachOSwiftSection 0.12.0-beta.3)

    Bumps MachOSwiftSection to 0.12.0-beta.3, which fixes a crash when an indexed image references a Swift opaque-return type whose underlying descriptor lives in a sibling loaded image — e.g. SwiftUI body code that resolves View.searchFieldStyle(_:) against DVTUserInterfaceKit. Before the bump, the MachOContext<MachOImage> decoder treated the symbolic reference offset as in-image and walked off into __PAGEZERO. The decoder now mirrors the Swift runtime and resolves the descriptor through the in-process pointer scheme, making cross-image references transparent.

    The same MachOSwiftSection bump also brings:

    • SymbolIndexStore self-cleanup — short-lived indexers now release their cache entry on deinit instead of leaking it for the full process lifetime.
    • SharedCache management API — contains / remove / removeAll let holders explicitly tear down cache entries on disposal.
    • Internal refactors that fold GenericContext initialisers onto the unified ReadingContext path, fixing a latent negative-size bug in the legacy in-process decoder.

    Carried Over From beta.2

    All features from v2.1.0-beta.2 ship unchanged: the Inspector Relationships tab, the Batch Export flow under File → Export Multiple Images…, selection history in the toolbar, and the underlying communication-layer hardening.