Google Analytics sdk creates issue in Xcode 6.3 - ios

I am using Google Analytics (version 3.15) for iOS app. my app also supports iOS 7 devices. So whenever I am trying to build the app using xcode 6.3 I am gettinbg below kind of errors,
/Volumes/Projects/Projects/inMyDIARY 5.0/inmyDIARY/inmyDIARY/libGoogleAnalyticsServices.a(TAGHit.o)
/Volumes/Projects/Projects/inMyDIARY 5.0/inmyDIARY/inmyDIARY/libGoogleAnalyticsServices.a(TAGPValueHash.o)
ld: 226 duplicate symbols for architecture x86_64
can anyone have idea how to resolve it?

I read some details about Google Analytics iOS SDK on official website and I have seen this
As of version 3.14 Google Analytics supports bitcode, which may cause compiler errors under Xcode 6. If you are still using Xcode 6 consider downloading v3.13.
Apart from that if you want simply want to ignore dependcy related Google Analytics using Cocoapods.
You can also go through official link link for more details.

Related

Does Google Sign-in SDK iOS support iOS6?

My project must support iOS6.
I use Google Sign-In SDK v2.4.0.
But When I selected Target , the GoogleSignIn.framework (optional) in Xcode project and run on the iOS6 device, dyld log tells
dyld: Symbol not found: _OBJC_CLASS_$_NSURLSessionConfiguration.
Is there how to use this in iOS6 Device??
The GoogleSignIn guides don't state a minimum SDK version however...
NSURLSessionConfiguration was introduced in iOS7 so if you are getting that issue when trying to link to the SDK then iOS 6 certainly isn't supported.
Checking out the sample project (pod try Google) and it also has the Deployment target set to iOS 7.0 so it looks like you are out of luck I am afraid. Maybe look at using an older version but I can't help you with what version supports iOS 6 and I would not know if it is still supported/maintained by Google.

What version of Google Analytics works on iOS 6?

I'm still supporting iOS 6 on my apps, and I was going to update Google Analytics, but CocoaPods gives me an error saying it requires a higher version.
What is the last version of Google Analytics that works with iOS 6 and how do I get it?

iOS 9 (Xcode 7) Facebook API/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKAccessToken.o)' does not contain bitcode

I am trying to build the my app containing Facebook SDK with Xcode 7 in iOS 9.0. I am getting this error.
Thanks
Update your Facebook SDK version to 4.6
The SDK supports various iOS 9 features including Bitcode. In
addition, the SDK dialogs such as Login, Like, Share Dialogs
automatically determine the best UI based on the device, including
SFSafariViewController instead of Safari. Follow the our Preparing for
iOS 9 guide.
https://developers.facebook.com/docs/ios/downloads
Facebook SDK 4.6 Download Link
Also check this for upgrading to iOS 9 Facebook SDK https://developers.facebook.com/docs/ios/ios9
If you getting another bitcode error from other SDK then you can disable bitcode from setting of Xcode target.
For Bitcode issue you can check this question : New warnings in iOS 9
If you have all SDK (Frameworks) with the bitcode enabled then you will not get the bitcode error. If you get that error then Disable it from settings.
Okay I'm just gonna add my own answer.
Import using Cocoapods.
https://github.com/facebook/facebook-ios-sdk.git
That will get bitcode compiled into the framework.

Vungle 3.013 Duplicate Symbol Error,iPad Only, Xcode 6.2

I integrated Vungle Video ads framework in my project(Universal), works fine with the iPhone, but when I try to run the same Project in iPad it fails at compilation throwing following logs
This is due to you not being on the latest version of XCode:
"Our newest iOS SDK (3.0.13) was released in support of the newest version of XCode (6.3). Please verify you are using XCode 6.3 or higher to ensure a smooth integration.
If you are still using a version older than XCode 6.3, head over to the Appstore for a quick update to make sure you start serving Vungle ads in no time."
https://support.vungle.com/hc/en-us/articles/204451204-Vungle-s-iOS-SDK-3-0-13-and-XCode-6-3
I have answered a similar question HERE. please check it out.
I short what the problem might be that you are probably having multiple Vungle SDKs inside your project and so it is throwing duplicate symbols error. It might be possible that the error is due to another linker warning e.g.
ld: warning: directory not found for option '-F"/Users/user/Desktop/qwer/../../Documents/Unity Projects/Unity 5.0.0 projects/MyGame/Assets/Editor/Vungle/VungleSDK"'
View the above mentioned link for further details.

Need to track down a copy of version 1.5 of Google Analytics for iOS

I'm adding Google Analytics to my armv6/armv7 project and I get a linker error when trying to build for an armv6 device:
libGoogleAnalytics.a, file is universal but does not contain a(n) armv6 slice for architecture armv6
Turns out that the version of Google Analytics I'm using (1.5.1) dropped support for armv6. Can anyone direct me to a copy of version 1.5, which I presume will work in my project?
Google don't appear to keep archived versions around, and I couldn't dig up a copy looking around the web.
Thanks.
I got it by guessing the url.
http://dl.google.com/gaformobileapps/GoogleAnalyticsiOS_1.5.tar.gz

Resources