Last active
August 29, 2015 14:17
-
-
Save sdpjswl/2d4cbb249309808dc863 to your computer and use it in GitHub Desktop.
A crash course to get started with CocoaPods
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 characters
1. sudo gem install cocoapods // install command line tool (do this just once) | |
2. pod setup // clones the pod repo locally (do this just once) | |
3. in a project folder, 'pod init' // creates a podfile | |
4. in the podfile, add pod names, eg: pod 'AFNetworking' | |
5. in the project folder on terminal, 'pod install' | |
6. to update, 'pod update' | |
7. to install or uninstall pods, modify Podfile and run 'pod install' | |
8. in case of any problem: | |
- pod repo remove master | |
- pod setup | |
9. remove broken installation: | |
- rm -rf ~/.cocoapods |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment