REA SwiftPM binaryTargets notes (unofficial)

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

SwiftPM binaryTargets declare prebuilt binary frameworks (often XCFrameworks) with URL/checksum/path identity. In REA 6.7.x, treat those declarations as Evidence beside Package.resolved / Mach-O routes — complementing rea-swiftpm-resolved and rea-swift-binaries.

Mental model

  1. Authorize Package.swift (+ resolved / XCFrameworks / Mach-O you hold).
  2. Quote selected binaryTargets name/url/checksum/path fields you actually see.
  3. Resolved pins → rea-swiftpm-resolved; packages → rea-swift-packages.
  4. Built/prebuilt binaries → rea-swift-binaries.
  5. Do not invent a remote checksum verification REA never ran.

Minimal path

# authorized Package.swift binaryTargets (+ Package.resolved / XCFramework you hold)
# quote selected url/checksum/path fields into case notes
# REA archive/Mach-O/Swift routes on /absolute/path/artifact --json
# do not invent: rea inspect_spm_binary_targets .

Compare

ArtifactHonest posture
binaryTargetsPrebuilt binary declaration facts
Package.resolvedrea-swiftpm-resolved
Swift binariesrea-swift-binaries
Carthage cousinrea-carthage-resolved

Scope we will not cover

  • No inventing inspect_spm_binary_targets / automatic CDN crawlers.
  • No CDN/SCM credential theft.
  • No pirate redistribution of paid XCFrameworks.
  • No crack framing for commercial iOS/macOS apps.

RepoRead is unofficial. Prefer binaryTargets honesty + DISCLAIMER.md.

FAQ

How is this different from rea-swiftpm-resolved?

rea-swiftpm-resolved covers resolved pin sets. This page zooms on binaryTargets declarations (URL/checksum/path facts) beside those pins.

Is there inspect_spm_binary_targets in 6.7.0?

Not assumed. Quote binaryTargets fields you actually open, then hand XCFrameworks/Mach-O to documented routes. Do not invent inspect_spm_binary_targets.

Does REA download remote binaryTargets?

No. Local trees/artifacts only. No CDN credential theft.

How does this relate to Carthage?

Cousin Apple dependency tooling. See rea-carthage-resolved — label Evidence by the tool present.

npm version checked?

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

Sources