I made swift app and i will use Alamofire for swift json parsing.
For that i install following pod:
pod 'Alamofire', '~> 4.4'
After that i update pod but it will give me following error :
[!] CocoaPods was not able to update the master
repo. If this is an unexpected issue and persists you can inspect it running pod repo update --verbose
so any one have solution of that then please help me.
I used xcode 8.3.1 ,Swift 3 and app compatibility from ios 9.0.
This answer could fix your problem:
Uninstall CocoaPods (choose to uninstall all versions):
sudo gem uninstall cocoapods
Remove old master repo:
sudo rm -fr ~/.cocoapods/repos/master
Install CocoaPods without sudo:
gem install --user-install cocoapods
Setup CocoaPods and Master repo:
pod setup
NOTE: Step 3 is going to make sure you install pod under your user name instead of root which sudo does.