how to Install Pod File in MAC
- Close your project.
- open terminal on you MAC.
- Write this line :
- CD "Copy Your Project URL and PAST Here." Enter it
- Write this line
$ sudo gem install cocoapods
- Then write a password on your MAC.
- Then :
$ pod init
- OPEN pod file and write you want to be install a pod, in our case we will install AFNetwork
platform :ios, '8.0' target 'TargetName and your project name' do pod 'AFNetworking', '~> 3.0' end
- version of your pod is optional.
- Then install it :
pod install
- Then open file :
App.xcworkspace
I Hop you Enjoy this tutorial keep touch in this blog for more update
Comments
Post a Comment