Duplicate Symbols for Architecture arm64
Solution 1
From the errors, it would appear that the FacebookSDK.framework already includes the Bolts.framework classes. Try removing the additional Bolts.framework from the project.
Solution 2
For me it helped to switch the "No Common Blocks" compiler setting to NO: It pretty much seems to make sense, the setting is explained here: What is GCC_NO_COMMON_BLOCKS used for?
Solution 3
Using Xcode 8, "Update project to recommended settings" option turned ON 'No Common Blocks' for my project.
Turning it back to OFF fixed everything up.
Solution 4
I've messed up my pods while downgrading a pod and I've managed to resolve the issue with duplicate symbols for architecture arm64 by removing the pods and installing them again with:
pod deintegrate
pod install
Solution 5
For me it was that i imported a file as a .m not a .h by mistake
Admin
Updated on February 05, 2022Comments
-
Admin over 2 years
When I try running my Xcode Project it fails with an error stating that I have duplicate symbols. I looked online where the find these duplicates but have had no luck:
Any ideas how to fix this?
-
Yaro almost 8 yearsYou are the man! Just made a new xCode 7.3.1 project and the default setting is YES :(
-
commscheck over 7 yearsThis option was switched on for me by Xcode's "Update project to recommended settings" window.
-
Sazzad Hissain Khan over 7 yearsUpdate project to recommended settings, how do i do that? i mean from which menu?
-
Trip over 7 years@SazzadHissainKhan It's in your build settings.
-
Vladimir over 7 yearsThat's LOL, but true ;D
-
Sung almost 7 yearsThanks for this! Was struggling with an issue with a constants.h file I was creating lol
-
reetu almost 7 yearsThank you for the answer I too was facing the same issue and your answer worked for me...
-
Sumit Kumar Saha over 6 yearsThanks, i was struggling for this problem for past 3-4 hrs
-
Imdad Ali over 6 yearshow to? can you please guide me step by step
-
showmyroutes almost 6 yearsYou are the best
-
Fattie over 5 yearspriceless tip, but doh didn't help in my case! :O
-
Dorald about 5 yearsStep 2: Solved my problem. Thank you :)
-
user426132 almost 5 yearsthis just happened to me.. I blame code completion for everyting
-
Supertecnoboff over 4 yearsThank you so much, I didn't realise I had made this mistake, was taking up all my time. Thanks again 👍
-
andrewlundy almost 4 yearsI was using the Google Places SDK, integrated through CocoPods - 3.9.0, and this answer fixed my issue.
-
Vladimir Sukanica over 3 yearsThanks, you saved me a lot of headache
-
Sanzio Angeli over 3 yearsNote you have to specify the exact project you want to deintegrate. I would recommend dragging the project from xcode itself as opposed to from your file explorer... Had over 450 of these arm64 errors...
-
VyacheslavBakinkskiy over 3 yearsHelps with switching the "No Common Blocks" compiler setting to NO
-
bdroid over 3 yearsdo you have any guide?
-
hbk over 2 yearstime-saving answer