Sha256: 5e93db56c2d9a87f64c71b39255b2bb6c2746f734a28d3581374069db3d78dd5

Contents?: true

Size: 1.23 KB

Versions: 3

Compression:

Stored size: 1.23 KB

Contents

# CocoaPods

The cocoapods source will detect dependencies when `Podfile` and `Podfile.lock` are found at an app's `source_path`.  The cocoapods source uses the [cocoapods-dependencies-list](https://github.com/jonabc/cocoapods-dependencies-list) plugin to enumerate dependencies and gather metadata on each package.

**NOTE:  Licensed does not install the [cocoapods-dependencies-list](https://github.com/jonabc/cocoapods-dependencies-list) plugin.  Users must install the gem alongside the cocoapods gem to enumerate cocoapods dependencies.**

## Evaluating dependencies from a specific target

The `cocoapods.targets` property is used to specify which targets to analyze dependencies from. By default, dependencies from all targets will be analyzed.

```yml
cocoapods:
  targets:
    - ios
```

## Specifying which pod executable to run

The cocoapods source will call the `pod` executable to evaluate dependencies by default.  If needed, you can override the executable used with the `cocoapods.command` configuration option.  This might be useful if the full path to the `pod` executable is needed (e.g. `pod` is not findable from the system `PATH`), or if you need to execute `pod` with `bundle exec`.

```yml
cocoapods:
  command: 'bundle exec pod'
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
licensed-5.0.1 docs/sources/cocoapods.md
licensed-5.0.0 docs/sources/cocoapods.md
licensed-4.5.0 docs/sources/cocoapods.md