{"_id":"590a04fbed80861900cbc7da","version":{"_id":"590a04f2ed80861900cbc737","project":"55b2d5baa74a380d00e290c4","__v":4,"createdAt":"2017-05-03T16:27:30.085Z","releaseDate":"2017-05-03T16:27:30.085Z","categories":["590a04f3ed80861900cbc738","590a04f3ed80861900cbc739","590a04f3ed80861900cbc73a","590a04f3ed80861900cbc73b","590a04f3ed80861900cbc73c","590a04f3ed80861900cbc73d","590a04f3ed80861900cbc73e","590a04f3ed80861900cbc73f","590a04f3ed80861900cbc740","590a04f3ed80861900cbc741","590a04f3ed80861900cbc742","590a04f3ed80861900cbc743","590a04f3ed80861900cbc744","590a04f3ed80861900cbc745","590a04f3ed80861900cbc746","590a04f3ed80861900cbc747","590a04f3ed80861900cbc748","590a04f3ed80861900cbc749","590a04f3ed80861900cbc74a","590a04f3ed80861900cbc74b","590a04f3ed80861900cbc74c","590a04f3ed80861900cbc74d","59124949de13f61900336a7a","5914b04e7c2c552d008b7104","5914b47242c6a22300b9dc20"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"7.0.0","version":"7"},"category":{"_id":"590a04f3ed80861900cbc749","version":"590a04f2ed80861900cbc737","__v":0,"project":"55b2d5baa74a380d00e290c4","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-09-30T18:30:36.390Z","from_sync":false,"order":19,"slug":"best-practices","title":"Managing App Dependencies"},"project":"55b2d5baa74a380d00e290c4","parentDoc":null,"__v":0,"user":"55b2d5626862a10d00887af9","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-09-30T18:40:41.845Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"[CocoaPods](https://cocoapods.org/) are a fantastic way to manage dependencies. In buddybuild your CocoaPods dependencies are automatically detected, downloaded and installed during the build process. You do not need to make any configuration changes or install a buddybuild specific setup script.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Recommendations\"\n}\n[/block]\nIn order to guarantee repeatability in builds we recommend you check in your `Podfile.lock` file into source control. The `Podfile.lock` essentially freezes CocoaPods dependency tree versions so you'll have no nasty surprises when third party dependencies automatically update.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"CocoaPods version\"\n}\n[/block]\nBuddybuild reads and switches to the Cocoapods version specified in your `Podfile.lock` file (the `COCOAPODS` field). When you run `pod install` on your local computer, the `Podfile.lock` file is updated with the CocoaPods version that you are using locally.\n\nIf you change the CocoaPods version, simply commit the `Podfile.lock` file and buddybuild will pickup the changed version on the next build.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Minimum CocoaPods Version\"\n}\n[/block]\nWe do not officially support cocoapods versions less than 1.0.0. The cocoapods community has upgraded the minimum cocoapods version supported in their [master specs repo](https://github.com/CocoaPods/Specs/commit/d0ec5a65e80656c8d78e12ff19f251df879e0bc2) to 1.0.0 and, as a result, we're following suit.","excerpt":"","slug":"cocoapods","type":"basic","title":"CocoaPods"}
[CocoaPods](https://cocoapods.org/) are a fantastic way to manage dependencies. In buddybuild your CocoaPods dependencies are automatically detected, downloaded and installed during the build process. You do not need to make any configuration changes or install a buddybuild specific setup script. [block:api-header] { "type": "basic", "title": "Recommendations" } [/block] In order to guarantee repeatability in builds we recommend you check in your `Podfile.lock` file into source control. The `Podfile.lock` essentially freezes CocoaPods dependency tree versions so you'll have no nasty surprises when third party dependencies automatically update. [block:api-header] { "type": "basic", "title": "CocoaPods version" } [/block] Buddybuild reads and switches to the Cocoapods version specified in your `Podfile.lock` file (the `COCOAPODS` field). When you run `pod install` on your local computer, the `Podfile.lock` file is updated with the CocoaPods version that you are using locally. If you change the CocoaPods version, simply commit the `Podfile.lock` file and buddybuild will pickup the changed version on the next build. [block:api-header] { "type": "basic", "title": "Minimum CocoaPods Version" } [/block] We do not officially support cocoapods versions less than 1.0.0. The cocoapods community has upgraded the minimum cocoapods version supported in their [master specs repo](https://github.com/CocoaPods/Specs/commit/d0ec5a65e80656c8d78e12ff19f251df879e0bc2) to 1.0.0 and, as a result, we're following suit.