Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase/Performance 5.12.0 conflicts with NearbyMessages 1.1.1 #2094

Closed
stonesam92 opened this issue Nov 19, 2018 · 4 comments
Closed

Firebase/Performance 5.12.0 conflicts with NearbyMessages 1.1.1 #2094

stonesam92 opened this issue Nov 19, 2018 · 4 comments

Comments

@stonesam92
Copy link

We're unable to build a project that includes the latest versions of Firebase/Performance (5.12.0) and Google NearbyMessages (1.1.1) due to a duplicate symbol linker error.

Describe your environment

  • Xcode version: 10.1
  • Firebase SDK version: 5.12.0
  • Firebase Component: Performance
  • Firebase/Performance version: 5.12.0
  • NearbyMessages version: 1.1.1
  • CocoaPods version: 1.5.3

Steps to reproduce:

  • Create a Cocoapods project with Firebase/Performance 5.12.0 and NearbyMessages 1.1.1 defined as dependencies.
  • When you try to build we get the following linker error:

duplicate symbol _kuint128max in: /Users/samstone/projects/ios/MobileApp/Pods/NearbyMessages/Libraries/libGNSMessages.a(int128.o) /Users/samstone/projects/ios/MobileApp/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/FirebasePerformance(int128_9709c16cf10a95a527774d514a8bda0e.o) ld: 1 duplicate symbol for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

@paulb777
Copy link
Member

Confirmed:

~/qs/quickstart-ios/messaging/Pods/NearbyMessages/Libraries (master) $ nm libGNSMessages.a | grep kuint128max
---------------- S _kuint128max
                 U _kuint128max

~/qs/quickstart-ios/messaging/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework (master) $ nm FirebasePerformance | grep kuint128max
---------------- S __ZN4absl11kuint128maxE
---------------- S _kuint128max
@paulb777
Copy link
Member

Internally tracked at b/119758936

@visumickey visumickey added this to the M40 milestone Nov 29, 2018
@allright
Copy link

The same issue (but only in DEBUG)
duplicate symbol __ZNSt3__114numeric_limitsIN4absl7uint128EE8digits10E in:
/Users/allright/Library/Developer/Xcode/DerivedData/TimePhone-fdjnayfcnyckukapeqmsvoqkvcdu/Build/Products/Debug-iphoneos/FirebaseFirestore/FirebaseFirestore.framework/FirebaseFirestore(int128.o)
/Users/allright/TimePhone/timephone/TimePhone/Pods/FirebasePerformance/Frameworks/FirebasePerformance.framework/FirebasePerformance(int128_cf14b946969ae14548ab5ca0a450fcfb.o)

@paulb777
Copy link
Member

@allright Are you using at least Firebase 5.15.0?

@firebase firebase locked and limited conversation to collaborators Oct 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
4 participants