I have an iOS app on Xcode 4.6 and when I recently tried to build and run in the iPhone 6.1 simulator I got a "Mach-O Linker Error." It continued to say:
ld: 17 duplicate symbols for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Does anyone know how to solve this?
Thanks so much!
Just go to "Build Phases" -> "Compile Sources" and look for duplicate of classes.
Check if you have "*.m" files in your #import
! It appears that was my mistake...
Clean the Product and Run
if still not works then
Build Settings > Enable Bitcode > No
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With