Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

When installing HTTP pod fails, CocoaPod's may think it succeeded #1842

Closed
kylef opened this Issue · 2 comments

3 participants

@kylef
Owner

Steps to reproduce

Install a pod which uses HTTP on a bad internet connection

$ pod install
Analyzing dependencies
Downloading dependencies
Installing CCLDefaults (1.1.2)
Installing Expecta (0.2.3)
Installing GoogleAnalytics-iOS-SDK (3.0.3)
[!] Pod::Executable -L -o '/Users/kylef/Projects/fitnessfirst/digital-app-ios/Pods/GoogleAnalytics-iOS-SDK/file.zip' 'https://dl.google.com/googleanalyticsservices/GoogleAnalyticsServicesiOS_3.03.zip'

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  2 6211k    2  172k    0     0    462      0  3:49:27  0:06:21  3:43:06     0

curl: (56) SSLRead() return error -9806

Run pod install again

Note, it says using for GoogleAnalytics-iOS-SDK which previously failed.

$ pod install
Analyzing dependencies
Downloading dependencies
Using CCLDefaults (1.1.2)
Using Expecta (0.2.3)
Using GoogleAnalytics-iOS-SDK (3.0.3)
Installing KFData (1.0.0)
Installing Mantle (1.3.1)
Installing NSAttributedString+CCLFormat (1.0.0)
Generating Pods project
Integrating client project

Try using failed dependency

$ make tests
 ▸ Compiling FFGAppDelegate.m

 ⌦ /Users/kylef/Projects/fitnessfirst/digital-app-ios/FitnessFirst/FFGAppDelegate.m:13:9: 'GoogleAnalytics-iOS-SDK/GAI.h' file not found

 #import <GoogleAnalytics-iOS-SDK/GAI.h>
         ^
$ tree Pods/GoogleAnalytics-iOS-SDK/
Pods/GoogleAnalytics-iOS-SDK/
└── file.zip

0 directories, 1 file
@kylef kylef added the Defect label
@alloy
Owner

Aye, the downloader should definitely remove whatever was there if it fails.

@CocoaPodsBot CocoaPodsBot was assigned by kylef
@CocoaPodsBot
Collaborator

@alexrothenberg closed this issue with pull request CocoaPods/CocoaPods#1960

@CocoaPodsBot CocoaPodsBot was unassigned by kylef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.