Question

I've looked into the Pods and all the fixes for this duplicate symbol to no end. I get this error when using the MobileAppTracker in Pods and then using the Reachability.h. Funny thing is it builds fine on my machine but when it builds in Jenkins machine I get this...

duplicate symbol _kReachabilityChangedNotification in:
    /Users/Shared/Jenkins/Home/jobs/iPhone/workspace/Pods/MobileAppTracker/libMobileAppTracker-3.4.a(MATReachability.o)
    /Users/Shared/Jenkins/Home/jobs/iPhone/workspace/build/libPods.a(Reachability.o)

Funny thing is that there is no MATReachability file in the MobileAppTracker lib. Both Reachability and MobileAppTracker are in Pods.

All these solutions do not work:

  1. Reachability duplicate symbol

  2. How to access to Reachability in MKNetworkKit-iOS or avoid duplicate symbols with own added Reachability?

  3. duplicate symbol linker error due to libWeANDSFLibrary.a(ASIReachability.o)

Was it helpful?

Solution

It looks like this was fixed today with a MobileAppTracker update. https://github.com/MobileAppTracking/cocoapod/issues/3

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top