REA Swift binary notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

Swift shipping artifacts are still native images (often Mach-O) plus bundle resources. REA's path is the native provider lane — not a Swift-specific demangler product.

Minimal path

  1. Confirm authorization for the app/binary.
  2. Inventory bundle resources when useful (open_bundle_resources — rea-apple-apps).
  3. open_binary on CFBundleExecutable (or the lab Mach-O) with Hopper/Ghidra/IDA configured (rea-hopper-setup, rea-ghidra-setup).
  4. Save Evidence / JSON; demangled names from the provider are inferences unless symbols prove otherwise.

Mental model

  1. Swift ≠ managed PE. Do not use inspect_managed_artifact expecting .NET semantics.
  2. Bundle ≠ code. Resources and executable digests are different sessions in the skill model.
  3. Stripping hurts names — layout/exports may still help on some images.
  4. IPA/APK containers are separate inventory problems (rea-ipa-notes when relevant).

Scope we will not cover

  • No iOS jailbreak / DRM bypass cookbooks.
  • No inventing rea demangle-swift as upstream API.
  • No App Store scraping.

RepoRead is unofficial. Prefer the native-and-artifacts skill references and provider docs.

FAQ

Does REA have inspect_swift or a Swift demangler tool?

No dedicated Swift demangler MCP tool is advertised in rea-agents 6.7.0. Treat Swift apps as native binaries plus optional Apple bundle resources.

How should I start on a Swift macOS/iOS binary?

For the executable, open_binary with an authorized absolute path and a configured provider (Hopper is common on macOS). For plist/assets, use open_bundle_resources per rea-apple-apps.

Will Swift metadata always appear as nice names?

No. Stripped or optimized builds may yield sparse symbols — see rea-strip-symbols. Provider demangling quality varies; record unknowns honestly.

Can offline layout help without Hopper?

inspect-binary-layout is documented primarily for Linux ELF diagnostics with pwntools. Do not assume it replaces a Mach-O Swift provider session on macOS.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources