Cocoapods installation

1. Open the terminal
2. sudo gem install cocoapods
3. pod setup --verbose
4. go to project
5. pod init
6. open podfile
7. paste the pod 'AFNetworking', '0.9.1' (ex pod setup)
8. pod install

If we get error nanaimo

1. sudo gem uninstall nanaimo
then it shows select gem to uninstall:
1. nanaimo - 0.2.2
2. nanaimo - 0.2.3
3. All versions

I selected 3rd to remove all versions then

sudo gem install nanaimo

Finally it works fine.



Previous
Next Post »