Google Analytics sdk creates issue in Xcode 6.3

61 Views Asked by At

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?

1

There are 1 best solutions below

0
Hemant Singh Rathore On BEST ANSWER

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.