# RuntimeViewer

Aplicativo para macOS que inspeciona interfaces de runtime de Objective-C e Swift em binários Mach-O.

> Esta é a versão em Markdown da página do RuntimeViewer no OpenNavo, com as mesmas informações da página web: <https://opennavo.com/pt/apps/runtimeviewer>

- **Versão mais recente**: `2.1.2`
- **Desenvolvedor**: JieHui Lai
- **Página inicial**: <https://github.com/MxIris-Reverse-Engineering/RuntimeViewer>
- **Categorias**: [Ferramentas de desenvolvimento](https://opennavo.com/pt/categories/developer-tools)
- **Instalação**: `brew install --cask runtimeviewer`
- **Instalações nos últimos 30 dias**: 1
- **Homebrew**: O Homebrew ainda oferece; o OpenNavo pausou a recomendação
- **Endereço de download**: <https://github.com/MxIris-Reverse-Engineering/RuntimeViewer/releases/download/v2.1.2/RuntimeViewer-macOS.zip>
- **SHA-256**: `0cca9b3844135f8de175cf22c3fceebc668984b022b81565fede8aa976e325d2`

O SHA-256 só confere se o download está completo; não é uma certificação de segurança.

## Conteúdo da instalação e desinstalação

```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"
  }
]
```

## Sobre

RuntimeViewer é um aplicativo para macOS que permite examinar interfaces de runtime de Objective-C e Swift em binários Mach-O. Ele pode gerar cabeçalhos Objective-C e interfaces de tipos Swift, incluindo layouts de tipos e enums e deslocamentos de VTable.

- Navegue por classes, protocolos e membros do runtime com pesquisa aproximada e marcadores para objetos do runtime.
- Inspecione fontes locais de runtime e frameworks, navegue por frameworks macOS e iOSSupport ou carregue binários Mach-O e frameworks personalizados.
- Visualize interfaces reconstruídas com realce de sintaxe no estilo do Xcode e exporte interfaces para um ou mais arquivos usando o assistente de várias etapas.
- Descubra outras instâncias do RuntimeViewer na rede local usando Bonjour. O aplicativo também oferece integração MCP para clientes LLM no macOS 15 e versões posteriores.

Para instalar, baixe o arquivo de lançamento para macOS em [GitHub Releases](https://github.com/MxIris-Reverse-Engineering/RuntimeViewer/releases/latest), extraia-o e mova RuntimeViewer.app para a pasta Applications. O projeto informa que não publica um cask do Homebrew; qualquer cask de terceiros é não oficial e não tem suporte. O aplicativo principal requer macOS 15 ou posterior. O RuntimeViewer não lista automaticamente todos os aplicativos do Mac; selecione uma fonte de runtime ou conecte-se a um processo. A conexão a processos exige que o System Integrity Protection (SIP) esteja desativado. A injeção de código também exige SIP desativado; a injeção em aplicativos do sistema usa um serviço auxiliar instalado separadamente em Settings.

[Projeto oficial](https://github.com/MxIris-Reverse-Engineering/RuntimeViewer)

## Requisitos do sistema

- macOS 15 ou posterior · Versão do app: 2.1.2 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · Verificado em 2026-12-06
  - <https://github.com/MxIris-Reverse-Engineering/RuntimeViewer/releases/download/v2.1.2/RuntimeViewer-macOS.zip>
  - SHA-256: `0cca9b3844135f8de175cf22c3fceebc668984b022b81565fede8aa976e325d2`
- macOS 15 ou posterior · Versão do app: 2.1.2 · Apple Silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · Verificado em 2026-12-06
  - <https://github.com/MxIris-Reverse-Engineering/RuntimeViewer/releases/download/v2.1.2/RuntimeViewer-macOS.zip>
  - SHA-256: `0cca9b3844135f8de175cf22c3fceebc668984b022b81565fede8aa976e325d2`

## Informações de segurança do RuntimeViewer

Aqui só aparecem fatos que podem ser conferidos, cada um com fonte e data. Isto não é uma certificação de segurança. Para verificar os arquivos que você baixou, use o OpenNavo para analisá-los no seu Mac.

- <https://github.com/MxIris-Reverse-Engineering/RuntimeViewer> · Código aberto: Sim — <https://github.com/MxIris-Reverse-Engineering/RuntimeViewer> · Verificado em 2026-11-14

## Desinstalação

- `brew uninstall --cask runtimeviewer`

Uma desinstalação comum remove o App e mantém os ajustes e caches.

### Limpeza completa (opcional)

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

`--zap` também apaga ajustes, caches e outros arquivos listados na definição do Homebrew. Eles podem incluir dados compartilhados com outros apps e não podem ser recuperados após a exclusão; também não há garantia de que nenhum resíduo fique para trás. Faça primeiro um backup dos dados que precisar manter. Para manter os ajustes e caches, não adicione `--zap`.

Uma desinstalação comum remove o App e mantém os ajustes e caches.

- Arquivos e pastas: `/Library/LaunchDaemons/com.JH.RuntimeViewerService.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · Estes itens vêm da definição do Homebrew, verificada em 2026-12-06. Eles mostram o que a definição declara que vai apagar, e não significa que tudo isso esteja no seu Mac.
- Arquivos e pastas: `~/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> · Estes itens vêm da definição do Homebrew, verificada em 2026-12-06. Eles mostram o que a definição declara que vai apagar, e não significa que tudo isso esteja no seu Mac.
- Arquivos e pastas: `~/Library/Application Support/RuntimeViewer` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · Estes itens vêm da definição do Homebrew, verificada em 2026-12-06. Eles mostram o que a definição declara que vai apagar, e não significa que tudo isso esteja no seu Mac.
- Arquivos e pastas: `~/Library/Caches/com.JH.RuntimeViewer` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · Estes itens vêm da definição do Homebrew, verificada em 2026-12-06. Eles mostram o que a definição declara que vai apagar, e não significa que tudo isso esteja no seu Mac.
- Arquivos e pastas: `~/Library/HTTPStorages/com.JH.RuntimeViewer` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · Estes itens vêm da definição do Homebrew, verificada em 2026-12-06. Eles mostram o que a definição declara que vai apagar, e não significa que tudo isso esteja no seu Mac.
- Arquivos e pastas: `~/Library/Preferences/com.JH.RuntimeViewer.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · Estes itens vêm da definição do Homebrew, verificada em 2026-12-06. Eles mostram o que a definição declara que vai apagar, e não significa que tudo isso esteja no seu Mac.
- Arquivos e pastas: `~/Library/Saved Application State/com.JH.RuntimeViewerCatalystHelper~iosmac.savedState` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runtimeviewer.rb> · Estes itens vêm da definição do Homebrew, verificada em 2026-12-06. Eles mostram o que a definição declara que vai apagar, e não significa que tudo isso esteja no seu Mac.

## Notas da versão mais recente

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

## Dados e fontes

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