# RuntimeViewer

Mach-Oバイナリ内のObjective-CおよびSwiftランタイムインターフェースを調べるmacOSアプリです。

> これは OpenNavo の RuntimeViewer ページの Markdown 版で、内容はウェブページと同じです： <https://opennavo.com/ja/apps/runtimeviewer>

- **最新バージョン**: `2.1.2`
- **開発元**: JieHui Lai
- **ホームページ**: <https://github.com/MxIris-Reverse-Engineering/RuntimeViewer>
- **カテゴリ**: [開発ツール](https://opennavo.com/ja/categories/developer-tools)
- **インストール**: `brew install --cask runtimeviewer`
- **過去 30 日間のインストール数**: 1
- **Homebrew**: Homebrew では提供中、OpenNavo はおすすめを一時停止
- **ダウンロードURL**: <https://github.com/MxIris-Reverse-Engineering/RuntimeViewer/releases/download/v2.1.2/RuntimeViewer-macOS.zip>
- **SHA-256**: `0cca9b3844135f8de175cf22c3fceebc668984b022b81565fede8aa976e325d2`

SHA-256 はダウンロードしたファイルが完全かを確かめるためのもので、安全性の認証ではありません。

## インストールとアンインストールの内容

```json
[
  {
    "declaration": {
      "app": [
        "RuntimeViewer.app"
      ],
      "target": "/Applications/RuntimeViewer.app"
    },
    "phase": "install",
    "sources": [
      "RuntimeViewer.app"
    ],
    "target": "/Applications/RuntimeViewer.app",
    "type": "app"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "/Library/LaunchDaemons/com.JH.RuntimeViewerService.plist",
            "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.jh.runtimeviewer.sfl*",
            "~/Library/Application Support/RuntimeViewer",
            "~/Library/Caches/com.JH.RuntimeViewer",
            "~/Library/HTTPStorages/com.JH.RuntimeViewer",
            "~/Library/Preferences/com.JH.RuntimeViewer.plist",
            "~/Library/Saved Application State/com.JH.RuntimeViewerCatalystHelper~iosmac.savedState"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 紹介

RuntimeViewerは、Mach-Oバイナリ内のObjective-CおよびSwiftランタイムインターフェースを調べるmacOSアプリケーションです。型や列挙型のレイアウト、VTableオフセットを含むObjective-CヘッダーとSwift型インターフェースを生成できます。

- ランタイムクラス、プロトコル、メンバーを参照し、あいまい検索やランタイムオブジェクトのブックマークを利用できます。
- ローカルのランタイムやフレームワークソースを調べ、macOSおよびiOSSupportフレームワークを参照したり、独自のMach-Oバイナリやフレームワークを読み込んだりできます。
- 再構成されたインターフェースをXcode風のシンタックスハイライトで表示し、複数ステップのエクスポートウィザードで1つ以上のファイルに出力できます。
- Bonjourを使ってローカルネットワーク上の他のRuntimeViewerインスタンスを検出できます。また、macOS 15以降ではLLMクライアント向けのMCP統合も利用できます。

インストールするには、[GitHub Releases](https://github.com/MxIris-Reverse-Engineering/RuntimeViewer/releases/latest)からmacOSリリースアーカイブをダウンロードして展開し、RuntimeViewer.appをApplicationsフォルダに移動します。プロジェクトはHomebrew caskを公開していないと説明しており、サードパーティ製caskは非公式でサポート対象外です。メインアプリにはmacOS 15以降が必要です。RuntimeViewerはMac上のすべてのアプリを自動で一覧表示しません。ランタイムソースを選択するか、プロセスに接続してください。プロセスへの接続にはSystem Integrity Protection (SIP)を無効にする必要があります。コードインジェクションにもSIPの無効化が必要です。システムアプリへのインジェクションでは、Settingsから別途インストールするヘルパーサービスを使用します。

[公式プロジェクト](https://github.com/MxIris-Reverse-Engineering/RuntimeViewer)

## システム要件

- macOS 15 以降 · アプリのバージョン: 2.1.2 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · 2026-12-06 に確認
  - <https://github.com/MxIris-Reverse-Engineering/RuntimeViewer/releases/download/v2.1.2/RuntimeViewer-macOS.zip>
  - SHA-256: `0cca9b3844135f8de175cf22c3fceebc668984b022b81565fede8aa976e325d2`
- macOS 15 以降 · アプリのバージョン: 2.1.2 · Apple シリコン · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · 2026-12-06 に確認
  - <https://github.com/MxIris-Reverse-Engineering/RuntimeViewer/releases/download/v2.1.2/RuntimeViewer-macOS.zip>
  - SHA-256: `0cca9b3844135f8de175cf22c3fceebc668984b022b81565fede8aa976e325d2`

## RuntimeViewer のセキュリティ情報

ここでは確認できる事実だけを、出典と日付を添えて掲載しています。安全性を認証するものではありません。ダウンロードしたファイルを確かめるには、OpenNavo を使ってお使いの Mac 上でスキャンできます。

- <https://github.com/MxIris-Reverse-Engineering/RuntimeViewer> · オープンソース: はい — <https://github.com/MxIris-Reverse-Engineering/RuntimeViewer> · 2026-11-14 に確認

## アンインストール

- `brew uninstall --cask runtimeviewer`

通常のアンインストールではアプリ本体だけを削除し、設定とキャッシュは残ります。

### 完全な削除（任意）

- `brew uninstall --zap --cask runtimeviewer`

`--zap` は Homebrew の定義に記載された設定やキャッシュなどのファイルも削除します。ほかのアプリと共有しているデータが含まれる場合があり、削除すると元に戻せません。何も残らないことを保証するものでもありません。残しておきたいデータは先にバックアップしてください。設定とキャッシュを残す場合は、`--zap` を付けないでください。

通常のアンインストールではアプリ本体だけを削除し、設定とキャッシュは残ります。

- ファイルとフォルダ: `/Library/LaunchDaemons/com.JH.RuntimeViewerService.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-12-06 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。
- ファイルとフォルダ: `~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.jh.runtimeviewer.sfl*` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-12-06 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。
- ファイルとフォルダ: `~/Library/Application Support/RuntimeViewer` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-12-06 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。
- ファイルとフォルダ: `~/Library/Caches/com.JH.RuntimeViewer` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-12-06 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。
- ファイルとフォルダ: `~/Library/HTTPStorages/com.JH.RuntimeViewer` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-12-06 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。
- ファイルとフォルダ: `~/Library/Preferences/com.JH.RuntimeViewer.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-12-06 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。
- ファイルとフォルダ: `~/Library/Saved Application State/com.JH.RuntimeViewerCatalystHelper~iosmac.savedState` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · 以上の項目は Homebrew の定義に基づくもので、2026-12-06 に確認しました。定義で削除対象と宣言されている内容を示すだけで、お使いの Mac にすべてがあるとは限りません。

## 最新バージョンのリリースノート

### 3.0.0-beta.12 (2026-12-01)

### 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.

## 情報と出典

- <https://opennavo.com/ja/apps/runtimeviewer>
- <https://opennavo.com/ja/apps/runtimeviewer/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · 2026-12-06 に確認
- <https://formulae.brew.sh/cask/runtimeviewer>
- <https://github.com/MxIris-Reverse-Engineering/RuntimeViewer> · 2026-11-14 に確認
