duplicate symbols for architecture x86_64 xcode linking error swift

8.5k Views Asked by At

"Xcode 6.4 linking error while build project".i am using google analytics framework. Someone suggests the solution of this problem

1

There are 1 best solutions below

0
Arjun Kalidas On

I have posted my solution in this link. It has got nothing to do with architecture or whatever the crap xcode displays in the error logs.

In the podfile, if you are specifying test target and main target separately and using different sets of pods, then add Google analytics pod reference in both. Like this: pod 'Google/Analytics'

Apple Mach-O Linker Warning "Directory Not Found For Option..."

Please let me know if you had any luck with that. It worked for me.