Last active
January 31, 2020 17:07
Revisions
-
andrewsardone revised this gist
Mar 24, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Create a `Podfile` at the root of your project ```ruby platform :ios, '5.0' pod 'AFNetworking' pod 'OHAttributedLabel' -
andrewsardone revised this gist
Oct 15, 2012 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -26,6 +26,8 @@ echo "\n# CocoaPods\nPods" >> .gitignore git add -f .gitignore Podfile Podfile.lock **/*contents.xcworkspacedata ``` Luke Redpath [points][lrtweet1] [out][lrtweet2] that checking in your `Pods` directory has its advantages. Consider not adding it to your `.gitignore` and simply committing your new `Podfile`, `Podfile.lock`, and Xcode workspace. ## Bundler You might consider [configuring your project to use Bundler][bundler] for managing it's dependency on CocoaPods itself. Yes, this is a package manager for your package manager, but it adds an additional explicit declaration of project dependencies and it helps automatically setup boxes with [Bundler][bundlerhomepage] installed. @@ -37,4 +39,6 @@ bundle exec pod install [bundler]: http://git.io/bundlersetup [cocoapods]: http://cocoapods.org/ [bundlerhomepage]: http://gembundler.com/ [lrtweet1]: https://twitter.com/lukeredpath/statuses/257753196733292544 [lrtweet2]: https://twitter.com/lukeredpath/statuses/257753281860890624 -
andrewsardone revised this gist
Oct 14, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,7 +22,7 @@ pod install Configure git to work with Cocoapods: ```shell echo "\n# CocoaPods\nPods" >> .gitignore git add -f .gitignore Podfile Podfile.lock **/*contents.xcworkspacedata ``` -
andrewsardone revised this gist
Oct 14, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -30,7 +30,7 @@ git add -f .gitignore Podfile Podfile.lock **/*contents.xcworkspacedata You might consider [configuring your project to use Bundler][bundler] for managing it's dependency on CocoaPods itself. Yes, this is a package manager for your package manager, but it adds an additional explicit declaration of project dependencies and it helps automatically setup boxes with [Bundler][bundlerhomepage] installed. ``` bundle install --path vendor/bundle bundle exec pod install ``` -
andrewsardone revised this gist
Oct 14, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -28,7 +28,7 @@ git add -f .gitignore Podfile Podfile.lock **/*contents.xcworkspacedata ## Bundler You might consider [configuring your project to use Bundler][bundler] for managing it's dependency on CocoaPods itself. Yes, this is a package manager for your package manager, but it adds an additional explicit declaration of project dependencies and it helps automatically setup boxes with [Bundler][bundlerhomepage] installed. ```shell bundle install --path vendor/bundle -
andrewsardone revised this gist
Oct 14, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ## [CocoaPods](http://cocoapods.org/) project setup Create a `Podfile` at the root of your project ```ruby platform :ios -
andrewsardone revised this gist
Oct 14, 2012 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ ## [CocoaPods](http://cocoapods.org/) project setup Create a Podfile at the root of your project @@ -37,4 +37,4 @@ bundle exec pod install [bundler]: http://git.io/bundlersetup [cocoapods]: http://cocoapods.org/ [bundlerhomepage]: http://gembundler.com/ -
andrewsardone revised this gist
Oct 14, 2012 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -35,7 +35,6 @@ bundle install --path vendor/bundle bundle exec pod install ``` [bundler]: http://git.io/bundlersetup [cocoapods]: http://cocoapods.org/ [bundlerhomepage]: http://gembundler.com/ -
andrewsardone created this gist
Oct 14, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,41 @@ ## CocoaPods project setup Create a Podfile at the root of your project ```ruby platform :ios pod 'AFNetworking' pod 'OHAttributedLabel' target :MyAppTests, :exclusive => true do pod 'Kiwi' end ``` Then install your project's dependencies ```shell pod install ``` Configure git to work with Cocoapods: ```shell echo "\n#CocoaPods\nPods" >> .gitignore git add -f .gitignore Podfile Podfile.lock **/*contents.xcworkspacedata ``` ## Bundler You might consider [configuring your project to use Bundler][bundler] for managing it's dependency on CocoaPods itself. Yes, this is a package manager for your package manager, but it adds additional explicit declaration of project dependencies and it can help automatically setup boxes with [Bundler][bundlerhomepage] installed. ```shell bundle install --path vendor/bundle bundle exec pod install ``` [gist]: http://git.io/cocoapodssetup NOT SETUP YET [bundler]: http://git.io/bundlersetup [cocoapods]: http://cocoapods.org/ [bundlerhomepage]: http://gembundler.com/