Skip to content

Commit

Permalink
Update CONTRIBUTING.md
Browse files Browse the repository at this point in the history
Added CocoaPods installation instructions, with an additional detailed description of a potential pitfall with CocoaPod version inconsistencies. CocoaPods feature tests will not pass if the CocoaPods/Specs repo used with version is CocoaPods version 0.39 and below
  • Loading branch information
ddubson authored and Manifaust committed Jan 25, 2017
1 parent 52d00c7 commit 9deed82
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CONTRIBUTING.md
Expand Up @@ -80,3 +80,19 @@ JAVA_OPTS='-client -XX:+TieredCompilation -XX:TieredStopAtLevel=1' JRUBY_OPTS='-
### Gradle

You'll need a gradle version >= 1.8.

### CocoaPods
LicenseFinder supports CocoaPods 0.39 and below. If you are using a later version of CocoaPods, you will need to downgrade CocoaPods/Specs repository in order to use LicenseFinder. [This article](http://blog.cocoapods.org/Sharding/) describes the breaking change between CocoaPods 0.39 and 1.0. You will need to use an older, archived CocoaPods/Specs repo.

If you see the following error, try switching to the archived repo.

```bash
[!] The `master` repo requires CocoaPods 1.0.0 - (currently using 0.34.0)
```

Example of how to switch to the archived repo:

```bash
mv ~/.cocoapods/repos/master ~/.cocoapods/repos/master.bak
git clone https://github.com/CocoaPods/Old-Specs.git ~/.cocoapods/repos/master
```

0 comments on commit 9deed82

Please sign in to comment.