Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

pod-install hangs after Pod installation complete! #2535

Closed
geraintwhite opened this issue Aug 28, 2020 · 4 comments
Closed

pod-install hangs after Pod installation complete! #2535

geraintwhite opened this issue Aug 28, 2020 · 4 comments
Labels
needs more info wontfix This will not be worked on

Comments

@geraintwhite
Copy link

Description

When running npx pod-install, the command hangs for a long time after displaying Pod installation complete!.

If I run time pod install the command takes 7.5s. However, if I run time npx pod-install the command takes 1m27.3s.

Expected Behavior

Command should exit after displaying Pod installation complete!.

Observed Behavior

Command hangs for about 1m20s after displaying Pod installation complete!.

Environment

Node version: v12.4.0
NPM version: 6.9.0
Cocoapods version: 1.8.4

Reproducible Demo

git clone https://github.com/grit96/pod-install-test
cd pod-install-test
npx pod-install
@EvanBacon
Copy link
Contributor

The repro runs in 1.75s:

evanbacon@Evans-MBP pod-install-test % time npx pod-install
npx: installed 1 in 0.668s
Scanning for pods...
1.9.3
> pod install
Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
Pod installation complete! There are 0 dependencies from the Podfile and 0 total pods installed.
npx pod-install  1.75s user 0.68s system 101% cpu 2.395 total
evanbacon@Evans-MBP pod-install-test % 

@brentvatne
Copy link
Member

@grit96 - could you have been experiencing an intermittent internet connectivity issue?

@geraintwhite
Copy link
Author

I think it's related to HTTP proxies. If I run pod install or npx pod-install without proxies they both finish quickly, whereas with HTTP proxies enabled (through http_proxy and https_proxy environment variables) pod install finishes quickly but npx pod-install hangs.

@EvanBacon EvanBacon added the wontfix This will not be worked on label Oct 1, 2020
@EvanBacon
Copy link
Contributor

I think http proxy is out of scope for this particular tool. Open to PRs if you’d like to contribute!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs more info wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants