REA macOS .app / Mach-O notes (unofficial)
A macOS .app is a bundle directory. REA cares about the Mach-O images inside once you resolve absolute paths you are authorized to analyze.
Mental model
- Bundle ≠ single file — start with structure (
Contents/Info.plist,MacOS,Frameworks,Resources). - Main executable — usually
Contents/MacOS/<name>fromCFBundleExecutable. - Native/static routes — run documented REA native diagnostics on that Mach-O.
- Codesign — optional facts via rea-macos-codesign.
- IPA / iOS — different packaging; see rea-ipa-notes / rea-apple-apps.
Minimal path
# authorized .app only
APP=/absolute/path/MyApp.app
# read Info.plist for CFBundleExecutable, then:
# rea <documented-native-or-static-route> "$APP/Contents/MacOS/<Executable>" --json
Compare
| Target | Honest next step |
|---|---|
.app bundle tree | Locate Mach-O + plist facts |
| Main Mach-O | Native/static diagnostics |
| Swift-heavy binary | rea-swift-binaries |
| Codesign / notarization strings | rea-macos-codesign |
| Broader macOS page | rea-macos-notes |
Scope we will not cover
- No SIP / AMFI / Gatekeeper bypass cookbooks.
- No pirate App Store decryption guides.
- No attaching debuggers to third-party apps without authorization.
RepoRead is unofficial. Prefer binary-diagnostics docs and Apple bundle documentation.
FAQ
Can I point REA at MyApp.app as a directory?
Treat the bundle as a folder tree. Inventory interesting members, then run native/static routes on the Mach-O under Contents/MacOS/ (and frameworks under Contents/Frameworks/) using absolute paths.
How is this different from rea-macos-notes?
rea-macos-notes is the broader macOS orientation. This page is the .app → Mach-O hand-off checklist for RepoRead routes.
Codesign facts?
See rea-macos-codesign. Recording signature team IDs is not the same as bypassing Gatekeeper/SIP.
Swift symbols?
rea-swift-binaries covers Swift-oriented notes once you have the Mach-O path.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).