Pod install is staying on Setting up CocoaPods Master repo
You could try running in verbose mode:
pod install --verbose
That'll show you what cocoa pods are up to:
Setting up CocoaPods master repo
Cloning spec repo `master` from `https://github.com/CocoaPods/Specs.git` (branch `master`)
$ /usr/bin/git clone 'https://github.com/CocoaPods/Specs.git' master
Cloning into 'master'...
(as suggested here)
For me the above step took quite a long time as the repo (Dec 2016) is now 1.1 GB
Cocoapods setup stuck on pod setup command on terminal
It is not stuck. I thought the same until I went to the "Activity Monitor" of the system and checked the "Network" tab.
Then you will see that something is being downloaded. A process called git-remote-http
is in charge of this.
Just wait! It happened the same for me :)
Good luck!
on mac os sierra, stuck on Setting up CocoaPods master repo
From https://stackoverflow.com/a/21852985/1033581:
on 4th Nov 2016, the repo is 1.07 GB
From https://stackoverflow.com/a/33699136/1033581:
To get a progression, you can clone master yourself:
pod repo remove master
git clone https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master
pod setup
pod Setting up CocoaPods master repo everytime I use pod install
In my first installation, I got the same problem too, it takes too much time in "setting up master repo".
Try these following steps, it solves my problem:
1. pod setup
It will do " setting up master " again, don't wait, continue these steps below
2. Ctrl +C
3. pod repo remove master
4. cd ~/.cocoapods/repos
5. git clone --depth 1 https://github.com/CocoaPods/Specs.git master
It takes around 5 minutes for me (I think it depends on internet connection), then I can do "pod install".
when running pod install I get The `master` repo requires CocoaPods 0.32.1, try updating but still in 0.31
To update cocoapods just do
sudo gem install cocoapods
and then you should be at the correct version
Your project does not explicitly specify the CocoaPods master specs repo warning when running pod install
Run the command pod repo remove master
Setting up CocoaPods master repo (Sierra )
In my first installation, I got the same problem too, it takes too much time in "setting up master repo". You can see it through "activity monitor" that it actually is downloading, but it seems the connection is slow from their server.
Try these following steps, it solves my problem:
1. pod setup
It will do " setting up master " again, don't wait, continue these steps below
2. Ctrl +C
3. pod repo remove master
4. cd ~/.cocoapods/repos
5. git clone --depth 1 https://github.com/CocoaPods/Specs.git master
It takes around 5 minutes for me (I think it depends on internet connection), then I can do "pod install".
pod setup fail at 'Setting up CocoaPods master repo'
After a few days going crazy with it. I found a workaround to resolve this problem. It's a workaround because I don't know the root cause and I have to repeat these steps every time I want to do command relates with cocoapods.
Seems like the PATH variable for cocoapods has been changed in Yosemite 10.10, so you need to fix the PATH for cocoapods to understand it.
First, I have to use this command:
sudo rm -fr ~/.cocoapods/repos/master
Then this:
pod setup
And this:
export PATH="/usr/local/git/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:$PATH"
After that, I could use 'pod setup', 'pod install', 'pod search',... normally as I did before.
Does anybody know how to completely resolve this problem? Because everytime I want to update the pods, I have to repeat those steps above
Related Topics
Auto Login Dropbox Account on Core API Without Login Prompt
Save and Load from Keychain | Swift
How to Use Apple's New .P8 Certificate for Apns in Firebase Console
How to Get an Iphone's Device Name
Screenshot for Avplayer and Video
How to Open Fb and Instagram App by Tapping on Button in Swift
In Call Status Bar (Unable to Satisfy Constraints)
Prevent Uialertcontroller to Dismiss
Update the Constant Property of a Constraint Programmatically in Swift
How to Disable/Remove Firebaseanalytics
Smart-Search for Parse Usernames in Swift Not Working
Uibezierpath Triangle with Rounded Edges
Programmatically Add Centerx/Centery Constraints
Swift iOS Check If Remote Push Notifications Are Enabled in iOS9 and iOS10
Disabling Automatic Scrolling of Uitableview When Editing Uitextfield Inside Uitableviewcell
iOS Game Center: Scores Not Showing on Leaderboard in Sandbox