Apple Mach-O Linker & Ditto Error - Xcode 8
- Quit Xcode
- Restart the System
- Select Xcode -> Preferences.
This will open a pop-up window. Select 'Locations'. In Locations, you will see 'Derived Data'. Click on the arrow icon right next to the path.
This will open a folder containing 'Derived Data', delete it. - Clean the Product and Run
Make sure you open the project from the .xcworkspace
file instead of the .xcodeproj
step 1 = clicking on the project in the navigation menu
step 2 = select the project
step 3 = build settings
step 4 = search enable bitcode if bitcode is yes than change to No