{
  "slug": "build-tools-adds-opt-in-cocoapods-dependency-caching-69ee2e53a73a",
  "title": "build-tools adds opt-in CocoaPods dependency caching",
  "tools": [
    "eas"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-08-29T10:31:52.000Z",
  "announced_at": "2026-08-29T10:31:52.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "For repeated iOS builds that should reuse CocoaPods dependencies, set `EAS_PODS_CACHE=1` when running an EAS iOS build. EAS restores a matching Pods cache, runs `pod install`, then saves `ios/Pods` under the lockfile-based key.",
    "examples": [
      "EAS_PODS_CACHE=1 eas build --platform ios"
    ],
    "gotchas": [
      "Version: v23.0.0",
      "EAS_PODS_CACHE: Set to `1` to enable CocoaPods caching; otherwise caching is skipped.",
      "--platform ios (required): Selects iOS for the EAS build.",
      "Opt-in with `EAS_PODS_CACHE=1`.",
      "Supports traditional, custom, and simulator iOS builds.",
      "Cache failures are non-fatal.",
      "`~/Library/Caches/CocoaPods` is intentionally excluded."
    ]
  },
  "why_it_matters": "For repeated iOS builds where CocoaPods dependencies should be reused, enable remote Pods caching.",
  "before": "CocoaPods dependencies were installed from scratch on every iOS build.",
  "sources": [
    "https://github.com/expo/eas-cli/releases/tag/v23.0.0",
    "https://github.com/expo/eas-cli/pull/4266",
    "https://github.com/expo/eas-cli/blob/main/packages/build-tools/src/steps/functions/restoreBuildCache.ts",
    "https://github.com/expo/eas-cli"
  ],
  "rank": 0.95037,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-81d94063cfdbf1cc-1:gate",
    "evidence_hash": "71af26d8a324420994c0de435a0eaaa19ef8f916da050f508d16811f075a7522"
  },
  "review": {
    "draft_hash": "ce79e2745bc0cc9dd71e569dc95fec87f6b17bb786301f2f506dd3914eaced48",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.75 (>= 0.6 needed)."
  }
}
