iOS Duplicate Symbol
-
21-12-2019 - |
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:
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