title: Apple Mach-O Linker & Ditto Error - Xcode 8
body: <p>I have just updated my Xcode to Xcode 8 and am now trying to convert my project's code to Swift 2.3. I was able to build a couple times using Xcode 8 without any errors. Now, the following errors came up:</p>
  
  <h3>Error #1: Apple Mach-O Linker Error: Linker command failed with exit code 1</h3>
  
  <blockquote>
    <p>ld: file not found: /Users/Linus/Library/Developer/Xcode/DerivedData/MyApp-asdjeshhsetnfxbegcsbcipdreneewgr/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/x86_64/DownloadsViewController.o<br>
    <strong>clang: error: linker command failed with exit code 1 (use -v to see invocation)</strong></p>
  </blockquote>
  
  <p>I don't even know what a <code>.o</code> file is. The swift file of <code>DownloadsViewController</code> is there, though.</p>
  
  <h3>Error #2: Ditto Error: Command /usr/cin/ditto failed with exit code 1</h3>
  
  <blockquote>
    <p>ditto: can't get real path for source '/Users/Linus/Library/Developer/Xcode/DerivedData/MyApp-asdjeshhsetnfxbbciegrfdpdreneewgr/Build/Intermediates/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/x86_64/MyApp-Swift.h'<br>
    <strong>Command /usr/bin/ditto failed with exit code 1</strong></p>
  </blockquote>
  
  <p>The ditto error occurs 3 times: for <code>MyApp.swiftdoc</code>, <code>MyApp.swiftmodule</code>, and <code>MyApp-Swift.h</code>.</p>
  
  <p>Thanks in advance!</p>