I am looking to integrate GoogleMaps on my app.
Am using Xcode 7.2, Swift 2 and I don't want to install it through podfile
I searched my best to find an alternative way like Google-Maps framework... Can someone please suggest me any idea...
From Google Map SDK
Versions 1.9.2 and earlier of the Google Maps SDK for iOS were available as a zip file containing a static framework. There was also the option to install recent versions from a CocoaPods pod. From version 1.10.0 onwards, the Google Maps SDK for iOS is available for installation only via CocoaPods.
Related
I'm following this official documentation to install FB SDK and trying to integrate it with my React Native project: https://developers.facebook.com/docs/ios/getting-started/ , so that I can show a Facebook share dialog in my app.
However, one of the steps requires to use CocoaPod to get the libraries. My React Native project doesn't work well with CocoaPod, I want to avoid it as much as possible. Is there a way to install the libraries manually without using CocoaPods?
Much appreciated if you can point me to some documentation or tutorials. Thanks!
You can download the entire iOS SDK (outside of Cocoapods) by going to bottom of this page:
https://developers.facebook.com/docs/ios/componentsdks
There also seems to be a Reactive Native-focused tutorial found here, where it looks like you can use npm install and react-native link.
I just noticed an update to Google Analytics for iOS (3.17), and I'm wondering if it is safe to switch over to using this Cocoapod (https://cocoapods.org/pods/GoogleAnalytics) and does it support Bitcode properly now? There have been issues with these Cocoapods before.
Specifically, I've been using Google Analytics 3.15 in my app for months now, but I haven't used the Cocoapod, because it wasn't compiling for me (Google wasn't supporting Bitcode for iOS for the Cocoapod version of the code, if I remember correctly). Somewhere I had read that by downloading the GoogleAnalyticsServices library directly (https://developers.google.com/analytics/devguides/collection/ios/v3/sdk-download) and drag that into my project in Xcode, it would work, and would support Bitcode. Which it has, and has worked well all this time.
But now I'd like to upgrade and change over to using it via Cocoapods if it supports Bitcode and is more officially supported by Google.
Anyone know?
Thanks.
PS. Which Version?
Google says to use the Cocoapod named:
pod 'Google/Analytics'
(https://developers.google.com/analytics/devguides/collection/ios/v3/?ver=swift)
While on Cocoapods.org, Google says to use this one:
pod 'GoogleAnalytics'
(https://cocoapods.org/pods/GoogleAnalytics)
Which is the correct version to use?
The Google/Analytics pod is the one that should be used when implementing Google Analytics in your iOS app. The GoogleAnalytics pod is not meant for direct use; we'll be updating the pod description.
I am in the need of older version of Google Mobile Ads SDK iOS may be 7.7.0 or older. Please share if anyone has it. I need to work on Xcode 6.3.2 and iOS 8.3. but latest version needs iOS 9 or later.
Thanks.
In case anyone is looking for the answer to this question, as I was today... Here is a solution that incorporates Nika's fine answer and gives you a standalone solution for closed-source frameworks like these.
The Cocoapods specs need to be public and if you go to where those specs are published, in this case: https://github.com/CocoaPods/Specs/tree/master/Specs/5/9/a/Google-Mobile-Ads-SDK
You'll find a list of all the versions of Google Mobile Ads published via Cocoapods.
Each spec contains a download link, so the spec for version 7.59.0 of the SDK / framework shows that link to be https://dl.google.com/dl/cpdc/de07064cf20bb7a6/Google-Mobile-Ads-SDK-7.59.0.tar.gz
You can solve your problem yourself mate:
Step 1: learn cocoapods. Cocoapods are used to integrate 3rd party libraries. It usually stores many many versions of the same libraries. There are plenty of tutorials on this under 10 minutes on youtube.
Step 2: import the version of google mobile ads library you need like this pod 'GoogleMobileAds', '~> 7.7'
I want to update Google Analytics SDK for iOS in my project but apparently it is not possible to download the SDK anymore without CocoaPods? I do not want to use CocoaPods, is there a way to download it as a standalone package?
Any simple way to download the iOS SDK like before? Previously I could just go online and download it from Google and simply add it into my xCode project now it seems all complicated with the Cocoapod install stuff..
Is there any simple way around this just to simply download the SDK from Google like I used to be able to do before??
Thanks,
Curtis