Cocoapods

[:en]1. sudo gem install cocoapods

2. pod setup –verbose

Finished installing

3. cd ~/Path/To/Folder/Containing/IceCreamShop

4. pod init

5. open -a Xcode Podfile

6. platform :ios, “8.0”
use_frameworks!

7. pod ‘Alamofire’, ‘2.0.2’

8. pod install

9. import Alamofire

10. Hit ⌘+b

http://guides.macrumors.com/Terminal

https://github.com/Carthage/Carthage

http://www.raywenderlich.com/97014/use-cocoapods-with-swift

http://blog.cocoapods.org/Pod-Authors-Guide-to-CocoaPods-Frameworks/

http://stackoverflow.com/questions/31739294/how-do-you-create-a-cartfile-or-easily-add-frameworks-to-your-app[:]

Print Friendly, PDF & Email
Scroll to Top