Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix Google Analytics SDK Directory Empty #1348

Merged
merged 1 commit into from

3 participants

@devigned

In regard to: CocoaPods/CocoaPods#779

Fixes the issue where the directory was empty after the pod install in > 0.16.3.

@GWStuartClift

0.16.4 added an option to flatten the source and avoid making the changes to the path that 0.16.3 required. Adjusting the source to contain this option:

 s.source = { :http => "http://dl.google.com/dl/gaformobileapps/GoogleAnalyticsiOS.zip", :flatten => true }

May avoid the need to append zip_path

@keith keith merged commit 101fc05 into CocoaPods:master
@keith
Owner

Looks good!

@devigned devigned deleted the unknown repository branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
2  GoogleAnalytics-iOS-SDK/2.0beta4/GoogleAnalytics-iOS-SDK.podspec
@@ -20,7 +20,7 @@ Pod::Spec.new do |s|
LICENSE
}
s.author = 'Google Inc.'
- s.source = { :http => "http://dl.google.com/dl/gaformobileapps/GoogleAnalyticsiOS.zip" }
+ s.source = { :http => "http://dl.google.com/dl/gaformobileapps/GoogleAnalyticsiOS.zip", :flatten => true }
s.platform = :ios
s.source_files = 'Library/*.h'
Something went wrong with that request. Please try again.