Use Cocoapods to add new version of GoogleAnalytics.

    $pod search Google
-> GoogleAnalytics-iOS-SDK (3.0.2)

Add Podfile.
Then in terminal run
   pod install

References
(shows using Cocoapods for Google ads, not analytics)
https://developers.google.com/mobile-ads-sdk/docs/admob/ios/quick-start#streamlined_using_cocoapods

https://developers.google.com/analytics/devguides/collection/ios/v3/
https://developers.google.com/analytics/devguides/collection/ios/resources