You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(...)
duplicate symbol '_APMIncludeAPMScreenClassNameWindowCategory' in:
path/to/DerivedData/myapp-hifbnfpmnmjptbeisshlcbknoxfs/Build/Products/Entreprise Debug Preprod-iphonesimulator/XCFrameworkIntermediates/GoogleAppMeasurement/GoogleAppMeasurement.framework/GoogleAppMeasurement(UIWindow+APMScreenClassName.o)
path/to/DerivedData/myapp-hifbnfpmnmjptbeisshlcbknoxfs/Build/Products/Entreprise Debug Preprod-iphonesimulator/XCFrameworkIntermediates/GoogleAppMeasurementWithoutAdIdSupport/GoogleAppMeasurementWithoutAdIdSupport.framework/GoogleAppMeasurementWithoutAdIdSupport(UIWindow+APMScreenClassName.o)
ld: 527 duplicate symbols for architecture x86_64
Specifications
SDK Version
1.17.1
Installation method
Cocoapods 1.10.1
Relevant development tools versions
Xcode 12.5
Additional information
When using pod 'Firebase/Analytic'~> 7.11.0' the issue disappears.
It looks to be the same issue as this ticket on the Firebase's github.
Could you provide a way to support Firebase/AnalyticsWithoutAdIdSupport ? Something like a subspec ?
The text was updated successfully, but these errors were encountered:
So, Firebase decided to have multiple variants of their Pod, which breaks anything that depends on the standard Firebase library. This happens because Cocoapods has no idea that one pod can stand in for the other
I don't think Cocoapods has advanced dependency resolution control (like gradle does).
I guess our fix here would be to introduce two subspecs, one for each Firebase flavour, like you suggested.
In the meantime, you can download the .podspec, change the dependency and commit it into your project.
Then, reference it in your Podfile like this: pod 'BatchFirebaseDispatcher', :path => '<relative path to where you put the podspec'`
If you put your podspec in your repo's root, that would look like pod 'BatchFirebaseDispatcher', :path => './'
Please note that I haven't tested this workaround yet.
We will improve this in the next release, but I have no timeframe for that.
Summary
When using the pods
Firebase/AnalyticsWithoutAdIdSupport
andBatchFirebaseDispatcher
, Xcode fails to build due to duplicate symbols.Reproduction steps
pod install
.Logs
Specifications
SDK Version
1.17.1
Installation method
Cocoapods 1.10.1
Relevant development tools versions
Xcode 12.5
Additional information
When using
pod 'Firebase/Analytic'~> 7.11.0'
the issue disappears.It looks to be the same issue as this ticket on the Firebase's github.
Could you provide a way to support
Firebase/AnalyticsWithoutAdIdSupport
? Something like a subspec ?The text was updated successfully, but these errors were encountered: