# Installer cocoapods avec Homebrew, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cocoapods pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:cocoapods
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install cocoapods
```

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cocoapods
```

  Preuve: nixpkgs package indexes: pkgs/by-name/co/cocoapods/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:cocoapods
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/cocoapods>
- **Version:** 1.17.0
- **Résumé source:** Dependency manager for Cocoa projects
- **Page d'accueil:** <https://cocoapods.org/>
- **Dépôt:** <https://github.com/CocoaPods/CocoaPods>
- **Docs amont:** <https://cocoapods.org/>
- **Licence:** MIT
- **Archive source:** <https://github.com/CocoaPods/CocoaPods/archive/refs/tags/1.17.0.tar.gz>
- **Dernière mise à jour:** 2026-07-06T23:44:34Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- pod (cli)
- xcodeproj (cli)
- pod (alias)
- xcodeproj (alias)

## Dépendances

- ruby

## Dépendances de compilation

- pkgconf

## Bibliothèques fournies par macOS

- libffi

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 1.17.0
- gestionnaire mis à jour: 2026-07-06
- données locales: OK
- dépôt amont: https://github.com/CocoaPods/CocoaPods
- dernière version détectée: 1.17.0 (à jour)
## Historique du projet et usages

CocoaPods is the long-running dependency manager for Swift and Objective-C Cocoa projects. It is one of the defining package tools of iOS and macOS development, centered on the `pod` CLI, the Podfile, podspecs, and the CocoaPods Specs/trunk ecosystem.

### Historique du projet

The CocoaPods GitHub repository was created in 2011 and the project presents itself as the dependency manager for iOS and Mac projects. The official site says CocoaPods is developed on GitHub by the CocoaPods Dev Team with many contributors.

CocoaPods matured into a full package ecosystem: a command-line installer, a central specs index, project integration for Xcode workspaces, documentation, search, and trunk publishing for podspecs.

### Historique d'adoption

The official homepage states that CocoaPods has over 107 thousand libraries and is used in over 3 million apps. RubyGems records more than 100 million downloads for the `cocoapods` gem.

CocoaPods' adoption has also reached a late-maintenance phase. The official blog announced a plan to make CocoaPods trunk read-only, while keeping existing Specs/CDN infrastructure available so existing builds continue to work.

### Modes d'utilisation

A user writes dependencies in a `Podfile`, runs `pod install`, and then opens the generated `.xcworkspace` rather than the original Xcode project. The official guide says the `Podfile` and `Podfile.lock` should be kept under version control.

CocoaPods also supports creating and publishing pods through podspecs, with commands such as `pod spec create`, `pod spec lint`, and publishing through trunk.

### Pourquoi les passionnés de paquets s'y intéressent

CocoaPods is historically important because it brought a package-index workflow to Apple platform development before Swift Package Manager was mature. It normalized lockfiles, central package metadata, semantic versions, and repeatable third-party dependency integration for Xcode projects.

It is also a case study in package registry lifecycle. The planned read-only trunk transition shows how an ecosystem can preserve installability while reducing the operational and security burden of accepting new package submissions.

### Chronologie

- 2011: `CocoaPods/CocoaPods` repository created on GitHub.
- 2010s: CocoaPods becomes the dominant third-party dependency manager for Objective-C and Swift Cocoa projects.
- 2016: CocoaPods 1.0 series released.
- 2024: CocoaPods 1.16.2 released.
- 2024: Official blog announces a read-only plan for CocoaPods trunk, later updated in May 2025.
- 2026: Blog plan says new trunk submissions will be stopped while existing builds continue to work.

### Related projects

- CocoaPods Specs is the central podspec repository/trunk data set.
- RubyGems distributes the `cocoapods` CLI gem.
- Swift Package Manager and Carthage are adjacent Apple-platform dependency managers.

### Sources

- <https://cocoapods.org/>
- <https://guides.cocoapods.org/using/using-cocoapods.html>
- <https://guides.cocoapods.org/using/the-podfile.html>
- <https://github.com/CocoaPods/CocoaPods>
- <https://rubygems.org/gems/cocoapods>
- <https://blog.cocoapods.org/CocoaPods-Specs-Repo/>


## Notes de sécurité

infrastructure mutation or orchestration signal.

- **Risque Geiger:** orange / moyen
- infrastructure mutation or orchestration signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: Podfile
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cocoapods
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Autres enregistrements de gestionnaires de paquets

- Nix - cocoapods: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/cocoapods/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Liens liés

- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [ruby](https://pkg.so/fr/brew/ruby/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/fr/brew/pkgconf/) - Build dependency declared by Homebrew.
- [carthage](https://pkg.so/fr/brew/carthage/) - Shares pkgdb curated category or tags: cli, cocoa, dependency-management, dependency-manager, developer-tools.
- [coursier](https://pkg.so/fr/brew/coursier/) - Shares pkgdb curated category or tags: cli, dependency-management, dependency-manager, developer-tools.
- [swift-outdated](https://pkg.so/fr/brew/swift-outdated/) - Shares pkgdb curated category or tags: cli, dependency-management, developer-tools, xcode.
- [pipenv](https://pkg.so/fr/brew/pipenv/) - Shares pkgdb curated category or tags: cli, dependency-management, developer-tools.
- [molten-vk](https://pkg.so/fr/brew/molten-vk/) - Shares pkgdb curated category or tags: cli, developer-tools, ios, macos.
- [renovate](https://pkg.so/fr/brew/renovate/) - Shares pkgdb curated category or tags: cli, dependency-management, developer-tools.
- [licenseplist](https://pkg.so/fr/brew/licenseplist/) - Shares pkgdb curated category or tags: cli, developer-tools, ios, xcode.
- [pip-tools](https://pkg.so/fr/brew/pip-tools/) - Shares pkgdb curated category or tags: cli, dependency-management, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/cocoapods.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cocoapods.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
