pod install stuck on Installing GoogleUtilitiesComponents (1.1.0) indefinitely - ios

When I try to 'pod install' it stuck in 'Installing GoogleUtilitiesComponents (1.1.0)'
When I tried with --verbose, it's stuck at this step.

Related

Unable to find a specification for `GoogleAPIClient/Calendar (~> 1.0.2)`

I was going through the steps mentioned at iOS Quickstart . I am getting following error during pod install
[!] Unable to find a specification for GoogleAPIClient/Calendar (~> 1.0.2)
Please help.
I had to run
pod repo update
Also I updated Cocoapods, not sure if this helped
sudo gem install cocoapods
I ran into something similar and resolved it with:
pod cache clean --all
pod deintegrate
pod repo update

'pod install' installing the newest version of pod

For example I have
pod 'Mixpanel', '~>2.9.2'
in my Podfile and no Podfile.lock. If I run 'pod install' it is installing the latest version which is 2.9.3 now. However if then I open newly created Podfile.lock, change version there, remove pods and then run 'pod install' again, it will download correct version.
According to 'pod install' specification:
For pods not listed in the Podfile.lock yet, it searches for the version that matches what is described in the Podfile (like in pod 'MyPod', '~>1.2')
Could you please tell, is it Cocoapods issue, or am I doing something wrong?

Google Cocoapods Not Installing

Whenever I try to install any of Google's cocoapods I get one of two errors.
Either:
$ pod install
Analyzing dependencies
[!] The version of CocoaPods used to generate the lockfile (0.38.0.beta.2) is higher than the version of the current executable (0.37.2). Incompatibility issues may arise.
CocoaPods 0.38.0.beta.2 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Downloading dependencies
Installing Google (1.0.7)
[!] Error installing Google
...
inflating: /var/folders/<myDirectory>/Samples/signin/SignInExampleSwift/ViewController.swift
warning [/var/folders/<myDirectory>/file.zip]: 375 extra bytes at beginning or within zipfile
(attempting to process anyway)
Or:
$ pod install
[in /Users/<user>/Desktop/FakeProject]
Analyzing dependencies
CocoaPods 0.38.0.beta.2 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Downloading dependencies
Installing AppInvites (1.0.1)
[!] Error installing AppInvites
[!] /usr/bin/tar xfz /var/folders/<myDirectory>/file.tgz -C /var/folders/<myDirectory>
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
I've been trying this with both new and existing objective-c projects and have tried uninstalling and re-installing cocoapods. Not really sure what the issue seems to be and Google doesn't have any troubleshooting for their cocoapods.
Try updating your gem
sudo gem update -n /usr/local/bin cocoapods
pod install
Deleting podfile.lock and pod install fixed it for me.
I had the same issue and I did gem install cocoapods first then pod install worked fine.
After 6 hours i found this
go to http://cocoapods.org/ and download tar file

Xcode 5.1.1 Getting Error while installing CocoaPods

I am getting following error while installing Cocoa Pods.
...........
Successfully installed cocoapods-core-0.33.1
Fetching: cocoapods-0.33.1.gem (100%)
ERROR: Error installing cocoapods: cocoapods requires cocoapods-try (~> 0.3.0)
------------------------------------------------------------------------
I had this same problem and solved it as follows:
sudo gem install cocoapods-try
After which I had a subsequent error when trying to install cocoapods:
ERROR: Error installing cocoapods:
cocoapods requires cocoapods-trunk (~> 0.1.1)
Which lead me to try:
sudo gem install cocoapods-trunk
Finish up with one last sudo:
sudo gem install cocoapods
And you should be good to go! Hope it works for you!
I believe some unwanted problem may have occurred while installation, give a try by Uninstalling the cocapods and re installing it again like this :-
1) Uninstall CocoaPods (choose to uninstall all versions):
sudo gem uninstall cocoapods
2) Remove old master repo:
sudo rm -fr ~/.cocoapods/repos/master
3) Install CocoaPods without sudo:
gem install cocoapods
4) Setup CocoaPods and Master repo:
pod setup
"sudo" keyword is used to tell OS you are giving command as an Admin, so do write sudo while installation (just mentioning for the safer side)

Can't run pod install because conflict error

I am trying to install new pods in my project, but everytime i run 'pod install' this error pops up.
Unable to activate xcodeproj-0.14.1, because activesupport-4.0.0.rc1 conflicts with activesupport (~> 3.0)
I already search but i can't find any solution to this problem, can someone help me please.

Resources