duplicate symbols for architecture x86_64 xcode linking error swift

Mughees picture Mughees · Nov 12, 2015 · Viewed 8.1k times · Source

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

Answer

Arjun Kalidas picture Arjun Kalidas · Jun 18, 2016

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.