You first need to install CocoaPods. Fortunately, CocoaPods is built on Ruby, which ships with all recent versions of Mac OS X. This has been the case since OS X 10.7.
Open Terminal and enter the following command:
sudo gem install cocoapods
Lastly, enter this command in Terminal to complete the setup:
pod setup --verbose
This process will likely take a few minutes as it clones the CocoaPods Master Specs repository into~/.cocoapods/ on your computer.
The verbose option logs progress as the process runs, allowing you to watch the process instead of seeing a seemingly “frozen” screen.
Awesome, you’re now setup to use CocoaPods!
How to Use CocoaPods with Swift
PLEASE FOLLOW THIS LINK :
http://www.raywenderlich.com/97014/use-cocoapods-with-swift

No comments:
Post a Comment