github.com/joey-fossa/fossa-cli@v0.7.34-0.20190708193710-569f1e8679f0/docs/integrations/cocoapods.md (about) 1 # Cocoapods 2 3 ## Support 4 5 Cocoapods support relies on the presence of 6 1. A `Podfile`. 7 2. `pod` binary or `$COCOAPODS_BINARY` set. 8 9 ## Configuration 10 11 ### Automatic 12 13 Run `fossa init` to walk the filepath and find all directories that contain a `Podfile`. 14 15 ### Manual 16 17 Add a module with `type: pod` and `target` and `dir` set to the location of the `Podfile.lock`. 18 19 ```yaml 20 analyze: 21 modules: 22 - name: cocoa-repo 23 type: pod 24 target: . 25 dir: . 26 ``` 27 28 ## Analysis 29 30 The `Podfile.lock` is parsed in order to create a dependency graph for the project. The hardest part of this process is massaging the data extracted from `Podfile.lock` into an appropriate dependency graph. 31 32 ## Known Limitations 33 34 Parsing the `Podfile.lock` alone prevents us from being able to analyze targets specified inside of the `Podfile` which limits the ability to distinguish between separate Cocoapod's projects when there are several.