REA SwiftPM Package.resolved notes (unofficial)

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

SwiftPM Package.resolved files pin package identity for Swift projects. In REA 6.7.x, treat them as Evidence beside Swift package and Mach-O routes — not as a silent Git cloner.

Mental model

  1. Authorize the Package.resolved (+ Package.swift / checkouts you hold).
  2. Quote package identities, versions/revisions and the resolved file format version you see.
  3. Package trees → rea-swift-packages.
  4. Built Swift/Mach-O binaries → rea-swift-binaries / rea-macho-fat.
  5. Do not invent a resolved graph REA never fetched.

Minimal path

# authorized Package.resolved (+ local checkouts/binaries you hold)
# quote package pins / revisions into case notes
# REA Swift/Mach-O routes on /absolute/path/App.framework_or_binary --json
# do not invent: rea inspect_swiftpm_resolved .

Compare

ArtifactHonest posture
Package.resolvedLock / pin facts
Swift package treesrea-swift-packages
Swift/Mach-O binariesrea-swift-binaries
Fat/slice identityrea-macho-fat

Scope we will not cover

  • No inventing inspect_swiftpm_resolved / automatic GitHub harvesters.
  • No SCM or Apple Developer credential theft.
  • No pirate redistribution of paid Swift packages.
  • No crack framing for commercial iOS/macOS apps.

RepoRead is unofficial. Prefer Swift/Mach-O honesty + DISCLAIMER.md.

FAQ

Is there inspect_swiftpm_resolved in 6.7.0?

Not assumed. Quote Package.resolved pins you actually open, then use documented Swift package / binary / Mach-O lanes (rea-swift-packages, rea-swift-binaries, rea-macho-fat).

How is this different from rea-swift-packages?

rea-swift-packages orients package tree / manifest posture. This page zooms on Package.resolved lock identity beside those routes.

Does REA run swift package resolve or talk to GitHub?

No. Local trees and artifacts only. No SCM token theft.

Missing checkouts?

Record when resolved pins exist without source checkouts or binaries — absence is Evidence.

npm version checked?

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

Sources