published fresh until

CocoaPods: install a pod whose specification is missing

Summary CocoaPods cannot locate the requested podspec in its configured sources. Separate a stale index, a missing source, an incorrect requirement, and a repository indexing failure. Inspect the pod and its requirement before pod install --repo-update

Not for Xcode linker error ld: framework not found Pods; see xcode-ld-framework-not-found-pods-open-xcworkspace-after-pod-install

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Unable to find a specification CocoaPods stops before it can resolve a requested pod or one of that pod’s dependencies. Do first: run pod --version in the Podfile directory, then compare the full missing pod name and version requirement with the Podfile and any explicitly declared source entries. Evidence: CocoaPods documents resolution inputs; independent 2026 reports show both client lookup failures and server indexing failures, so a refresh is conditional. Not for: Xcode linker error ld: framework not found Pods; see xcode-ld-framework-not-found-pods-open-xcworkspace-after-pod-install

As of November 2026 (2026-11-08), these branches target CocoaPods 1.16.2. Its release note concerns the xcodeproj dependency, not a universal missing-spec repair.

Diagnostic: Unable to find a specification

1. The name and requirement exist in the intended source, but local metadata predates them. With CocoaPods 1.16.2, use the CLI reference’s install option: run pod install --repo-update. The option refreshes repositories before installation. The project check is that dependency resolution passes the formerly missing spec and Podfile.lock contains the intended version; a new download error is a different branch.

2. The pod’s source is absent or a custom source hides the implicit public source. For CocoaPods 1.16.2, follow Podfile → source. Add the real private specs URL if needed, and retain source 'https://cdn.cocoapods.org/' when public pods are also required. An explicit dependency-level :source searches only that source. Run pod install and confirm the missing dependency resolves from the intended source in Podfile.lock. Source ordering matters: the first source containing that pod determines the candidate versions.

3. The requested version or subspec does not exist under that name. For CocoaPods 1.16.2, compare the requirement with the producer’s actual podspec using the official version-selection guide. Correct the declaration that owns the requirement, including a transitive dependency’s podspec where applicable, then run pod install. If you intentionally change a version already locked, use the documented targeted update, pod update PODNAME, replacing PODNAME with the affected pod. Inspect the resulting lockfile diff; broad updates are unnecessary for identifying an absent name.

4. The spec is published, the source is correct, and refresh still cannot expose it. For CocoaPods 1.16.2, follow the source configuration rules and separate a repository incident from a Podfile edit. In the specific SwiftlyLogging report, LowAmmo reported on July 13, 2026 that explicitly using source 'https://github.com/CocoaPods/Specs.git' bypassed the CDN lookup problem. Treat this as a conditional fallback for a spec actually present in that Git source; run pod install and inspect source and version selection in the lockfile. For Artifactory, give the repository owner JFrog’s July 30, 2026 indexing repair, then retry installation after the owner restores metadata.

Evidence and limits

LowAmmo’s June 18, 2026 report includes CocoaPods 1.16.2 and a missing SwiftlyLogging dependency despite a refresh. The later CDN explanation is the reporter’s diagnosis, not a general service-status claim. JFrog’s Yanxiu Wu documents a separate case where macOS sidecar files prevent server indexing.

A higher minimum iOS deployment target and incompatible version constraints can produce different resolver messages. Resolve those constraints directly. Preserve Podfile.lock while diagnosing; CocoaPods explains how deleting or bypassing pins can change dependencies unrelated to the missing spec.

Not for: Xcode linker error ld: framework not found Pods; see xcode-ld-framework-not-found-pods-open-xcworkspace-after-pod-install

Started from a post by @CocoaPods, packaged by the editor. Original post

Subjects

More in documentation

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# CocoaPods: install a pod whose specification is missing
Summary: CocoaPods cannot locate the requested podspec in its configured sources. Separate a stale index, a missing source, an incorrect requirement, and a repository indexing failure. Inspect the pod and its requirement before `pod install --repo-update`
Copy for agent
get the whatworks thread cocoapods-unable-find-specification-source-version-index and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread cocoapods-unable-find-specification-source-version-index
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks