Fixed
Status Update
Comments
br...@google.com <br...@google.com> #2
Can you please put a minimal reproduction case up on GitHub, along the lines of https://github.com/domesticmouse/MovingMarkerPosition ?
The reason I ask is that I just put together a minimal app with the three dependencies you mention above, and it successfully compiles, runs, and displays a map, so I'm a little confused as to what is going wrong for you.
Thanks!
The reason I ask is that I just put together a minimal app with the three dependencies you mention above, and it successfully compiles, runs, and displays a map, so I'm a little confused as to what is going wrong for you.
Thanks!
se...@gmail.com <se...@gmail.com> #3
Ok, I'll try to replicate in a demo project...
se...@gmail.com <se...@gmail.com> #4
You were right, a new app has no problem...
That was related to my Xcode project structure, rebuilding it from scratch remove the error.
Sorry for the wasted time...
Best regards,
Sergio
That was related to my Xcode project structure, rebuilding it from scratch remove the error.
Sorry for the wasted time...
Best regards,
Sergio
br...@google.com <br...@google.com> #5
We think we know what happened. Can you compare the compilation flags between the two projects? We tried LTO (link time optimisation) to see if that would trigger this issue, but that isn't the one. It'd be nice to know, so we can confirm our potential fix...
se...@gmail.com <se...@gmail.com> #6
I've checked the two projects, the one that manifest the problem have a "-all_load" in the the Other Linker Flags settings.
I don't remember why it had that, but removing it solve the issue and the app builds just fine...
I don't remember why it had that, but removing it solve the issue and the app builds just fine...
br...@google.com <br...@google.com>
br...@google.com <br...@google.com> #7
This bug was fixed in 2.1.1. Thanks for the report!
Description
pod 'GoogleMaps', '= 2.1.0'
pod 'Firebase/Core'
pod 'Firebase/AdMob'
a clean build of the project produce this error:
duplicate symbol __ZN8farmhash13Fingerprint32EPKcm in:
/Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/FirebaseCore(farmhash_71acb1913cf19d99bd791946e66c66e2.o)
/Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods/Pods/GoogleMaps/Subspecs/Maps/Frameworks/GoogleMaps.framework/GoogleMaps
duplicate symbol __ZN8farmhash13Fingerprint64EPKcm in:
/Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/FirebaseCore(farmhash_71acb1913cf19d99bd791946e66c66e2.o)
/Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods/Pods/GoogleMaps/Subspecs/Maps/Frameworks/GoogleMaps.framework/GoogleMaps
duplicate symbol __ZN8farmhash14Fingerprint128EPKcm in:
/Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods/Pods/FirebaseCore/Frameworks/frameworks/FirebaseCore.framework/FirebaseCore(farmhash_71acb1913cf19d99bd791946e66c66e2.o)
/Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods/Pods/GoogleMaps/Subspecs/Maps/Frameworks/GoogleMaps.framework/GoogleMaps
ld: 3 duplicate symbols for architecture x86_64
actual command line:
Ld /Volumes/Data/Users/sergio/Library/Developer/Xcode/DerivedData/TutorTracker-fgegagbvybxhfodigkkifzillkrv/Build/Products/Debug-iphonesimulator/TutorTracker.app/TutorTracker normal x86_64
cd /Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk -L/Volumes/Data/Users/sergio/Library/Developer/Xcode/DerivedData/TutorTracker-fgegagbvybxhfodigkkifzillkrv/Build/Products/Debug-iphonesimulator -L/Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods/GoogleAnalytics -F/Volumes/Data/Users/sergio/Library/Developer/Xcode/DerivedData/TutorTracker-fgegagbvybxhfodigkkifzillkrv/Build/Products/Debug-iphonesimulator -F/Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods/Pods/FirebaseAnalytics/Frameworks/frameworks -F/Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods/Pods/FirebaseCore/Frameworks/frameworks -F/Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods/Pods/FirebaseInstanceID/Frameworks/frameworks -F/Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods/Pods/Google-Mobile-Ads-SDK/Frameworks -F/Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods/Pods/GoogleInterchangeUtilities/Frameworks/frameworks -F/Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods/Pods/GoogleMaps/Subspecs/Base/Frameworks -F/Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods/Pods/GoogleMaps/Subspecs/Maps/Frameworks -F/Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods/Pods/GoogleSymbolUtilities/Frameworks/frameworks -F/Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods/Pods/GoogleUtilities/Frameworks/frameworks -F/Volumes/Data/Users/sergio/Xcode/Projects/Tutor/TutorTracker.Pods -filelist /Volumes/Data/Users/sergio/Library/Developer/Xcode/DerivedData/TutorTracker-fgegagbvybxhfodigkkifzillkrv/Build/Intermediates/TutorTracker.build/Debug-iphonesimulator/TutorTracker.build/Objects-normal/x86_64/TutorTracker.LinkFileList -mios-simulator-version-min=8.0 -Xlinker -object_path_lto -Xlinker /Volumes/Data/Users/sergio/Library/Developer/Xcode/DerivedData/TutorTracker-fgegagbvybxhfodigkkifzillkrv/Build/Intermediates/TutorTracker.build/Debug-iphonesimulator/TutorTracker.build/Objects-normal/x86_64/TutorTracker_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -all_load -licucore -ObjC -ObjC -lc++ -lsqlite3 -lz -framework AVFoundation -framework Accelerate -framework AddressBook -framework AudioToolbox -framework CoreData -framework CoreGraphics -framework CoreLocation -framework CoreMedia -framework CoreMotion -framework CoreTelephony -framework CoreText -framework CoreVideo -framework FirebaseAnalytics -framework FirebaseCore -framework FirebaseInstanceID -framework GLKit -framework GoogleInterchangeUtilities -framework GoogleMaps -framework GoogleMapsBase -framework GoogleMapsCore -framework GoogleMobileAds -framework GoogleSymbolUtilities -framework GoogleUtilities -framework ImageIO -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework OpenGLES -framework QuartzCore -framework StoreKit -framework SystemConfiguration -framework UIKit -weak_framework AdSupport -weak_framework SafariServices -weak_framework WebKit -framework CrashReporter -framework Accelerate -framework MediaPlayer -framework CoreMotion -framework StoreKit -framework SafariServices -framework CoreBluetooth -framework CoreVideo -framework CoreMedia -lsqlite3 -framework EventKit -framework EventKitUI -framework CoreTelephony -framework AdSupport -framework CoreText -framework GLKit -framework ImageIO -lc++ -licucore -framework OpenGLES -lz -framework AddressBook -framework MessageUI -lGoogleAnalyticsServices -framework AudioToolbox -framework Security -framework Foundation -framework UIKit -framework CoreGraphics -framework CoreData -framework CoreLocation -framework SystemConfiguration -framework AVFoundation -framework QuartzCore -lPods-TutorTracker -Xlinker -dependency_info -Xlinker /Volumes/Data/Users/sergio/Library/Developer/Xcode/DerivedData/TutorTracker-fgegagbvybxhfodigkkifzillkrv/Build/Intermediates/TutorTracker.build/Debug-iphonesimulator/TutorTracker.build/Objects-normal/x86_64/TutorTracker_dependency_info.dat -o /Volumes/Data/Users/sergio/Library/Developer/Xcode/DerivedData/TutorTracker-fgegagbvybxhfodigkkifzillkrv/Build/Products/Debug-iphonesimulator/TutorTracker.app/TutorTracker