REA Swift binary notes (unofficial)
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
- Confirm authorization for the app/binary.
- Inventory bundle resources when useful (
open_bundle_resources— rea-apple-apps). open_binaryonCFBundleExecutable(or the lab Mach-O) with Hopper/Ghidra/IDA configured (rea-hopper-setup, rea-ghidra-setup).- Save Evidence / JSON; demangled names from the provider are inferences unless symbols prove otherwise.
Mental model
- Swift ≠ managed PE. Do not use
inspect_managed_artifactexpecting .NET semantics. - Bundle ≠ code. Resources and executable digests are different sessions in the skill model.
- Stripping hurts names — layout/exports may still help on some images.
- 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-swiftas 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).