alooi14 / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 1 forks source link

Link error with iOS SDK 3.11 due to conflicting class name "Settings" #631

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Name of affected component: Mobile Tracking

Name of related library and version, if applicable (e.g. Android, iOS,
Snippets, etc.): iOS SDK v 3.11

Issue summary:
After updating the iOS SDK from version 3.10 to version 3.11 in my app, I'm 
getting the following link-time error:

duplicate symbol _OBJC_CLASS_$_Settings in:
    /Users/marco/Library/Developer/Xcode/DerivedData/PagineGialle-btpjziarzjwfprfepzmszexyuxvz/Build/Intermediates/PagineGialle.build/Debug-iphonesimulator/PagineGialle.build/Objects-normal/i386/Settings.o
    /Users/marco/Ovolab/Common/Google/GoogleAnalytics/iOS/v3/libGoogleAnalyticsServices.a(GeneratedProtos.o)
duplicate symbol _OBJC_METACLASS_$_Settings in:
    /Users/marco/Library/Developer/Xcode/DerivedData/PagineGialle-btpjziarzjwfprfepzmszexyuxvz/Build/Intermediates/PagineGialle.build/Debug-iphonesimulator/PagineGialle.build/Objects-normal/i386/Settings.o
    /Users/marco/Ovolab/Common/Google/GoogleAnalytics/iOS/v3/libGoogleAnalyticsServices.a(GeneratedProtos.o)
ld: 2 duplicate symbols for architecture i386

This is apparently due to a new "Settings" class introduced in v 3.11 which is 
conflicting with an existing class name. I'd recommend using a more specific 
class name to avoid conflicts, like "GASettings" or some such.

Original issue reported on code.google.com by marco.ov...@gmail.com on 6 May 2015 at 9:04

GoogleCodeExporter commented 8 years ago
See Release Version 3.12 (May 11, 2015)
https://developers.google.com/analytics/devguides/collection/ios/changelog

Original comment by pfrise...@google.com on 11 May 2015 at 10:33