Mach-O Linker Error on Xcode 4.6 Mach-O Linker Error on Xcode 4.6 xcode xcode

Mach-O Linker Error on Xcode 4.6


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...


  1. Quit Xcode
  2. Restart the System
  3. Select Xcode -> Preferences -> Locations
  4. In Locations, you will see 'Derived Data'. Click on the arrow icon right next to the path.
  5. This will open a folder containing 'Derived Data', delete it.
  6. Clean the Product and Run

    if still not works then

    Build Settings > Enable Bitcode > No enter image description here