flutter: running pod install takes forever while building in debug mode
Pod install is not stuck, when you delete Podfile.lock, pod install will redownload all pod dependencies, will take a long time, after finish, it will create a new Podfile.lock
I have a project that have 20+ dependencies for flutter, firebase dependencies are the most complex ones
cocoapods: pod update and pod install takes forever
CocoaPods has to download a repository of all podspecs to do its work. It seems like it's that pull operation that's taking a long time. I'm not aware of any way to accelerate that process.
However subsequent pod operations will be much faster until new commits are available in the master spec repo. So if you have several update or install operations, doing them together can save you some time.
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!
Cocoapods pod install stuck on OS X El Capitan
It looks like you installation gets stuck when it tries to update the spec repo.
Have you tried deleting the spec repo and downloading it again? This can be achieved running the following commands:
$ sudo rm -fr ~/.cocoapods/repos/master
$ pod setup
Let me know if it works.
-------------- UPDATE --------------
Specs are the files that describe the pods, they contain information about the version of the pods, their name and where to fetch the pod, among other things. CocoaPods keeps a repository with all of the updated specs for all of the available Pods, when you install CocoaPods this repo is cloned to your machine, this way, you can search for pods and their specs directly in it. You can read more about it here: Specs & Specs Repo
Pod Installlation Getting Long Time and Not Install
Use this one in your pod file ->
**source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!
target 'Pod DemoTests' do
pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire'
end**
this will solve your problem ..
Related Topics
Avfoundation, How to Turn Off the Shutter Sound When Capturestillimageasynchronouslyfromconnection
Use of Unresolved Identifier' in Swift
Afnetworking 3.0 Migration: How to Post with Headers and Http Body
Tablefooterview Property Doesn't Fix the Footer at the Bottom of the Table View
Xcode Nsmanagedobject Subclass Contains Optionals When They Are Marked as Non-Optional
Alternative to Dtsendsignalflag to Identify Key Events in Instruments
How to Change Locale Programmatically with Swift
How to Get an Iso 8601 Date on iOS
How to Change Inside Background Color of Uisearchbar Component on iOS
How to Set the Opacity/Alpha of a Uiimage
Comparing Nsdates Without Time Component
iOS 8 Sdk: Modal Uiwebview and Camera/Image Picker
Crashlytics: "We'Re Missing a Dsym to Process Crashes"
Dyld'_Abort_With_Payload: Without an Error Message
Connect Objective-C Framework to Swift iOS 8 App (Parse Framework)