Friday, 18 December 2015

SWIFT: INSTALL CocoaPods USING TERMINAL

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
Enter your password when requested. The Terminal output should look something like this:
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:

Setting Up Multiple App Targets in Xcode from a Single Codebase

 To create two different apps (like "Light" and "Regular") from the same codebase in Xcode, you can follow these steps b...