3 Duplicate Symbols error in Xcode – [Solution]

3 Duplicate Symbols error in Xcode start appearing some cases like migration or code which contain Swift + Objective-C code. This error is exhausting for developers.

3 Duplicate Symbols error

Solution for 3 Duplicate Symbols error in Xcode 2023

Solution 1 : Try Clean Build which is common method which I think you have already done.

Solution 2 : Go to Project > Target > Build Setting and search for Other Linker Flags. Remove all flags from there and keep only $(inherited).

Other Linker Flag => $(inherited)

Solution 3 : If still you are facing then add -ld64 in Other Linker Flags like we did in Solution 2.

Solution 4: Run command in Pod update && pod install in terminal at project root directory.

Solution 5 :  Set minimum deployment for all third party pods. Select all pods and set minimum deployment iPhone version to somewhere around iOS 14.0.

Conclusion for 3 Duplicate Symbols error in Xcode 2023

Hope you have solved your problem and this article helped you somewhere. let me know in comment about your experience.

 

Leave a Comment