title: 'No such file or directory' - MyApp.app in DerivedData
body: <p>Note: This began directly after I installed the Pinterest SDK through Cocoapods but I was using several Cocoapods before the error occurred:</p>
  
  <p>Whenever I build or run the project, I get an error sometimes when it's running '[CP] Embed Pod Frameworks' and sometimes when it's 'Copying MyApp.app'. The error is always along these lines  </p>
  
  <pre><code>/Library/Developer/Xcode/DerivedData/MyApp-fjeanqlyrtcollgyssfnlulisdan/Build/Products/Debug-watchos/MyApp.app: No such file or directory
  </code></pre>
  
  <p>but sometimes its not 'Debug-watchos', sometimes its 'Debug-iphonesimulator' or 'Debug-iphoneos'. And I've gone to those folders in Finder - In my project, I have 4 targets: 'MyApp 0.5', 'MyApp 0.5UITests', 'MyApp', 'MyApp Extension'. So in Finder, sometimes if it says it can't find 'MyApp.app', 'MyApp 0.5.app' IS there, 'MyApp.app' is not.</p>
  
  <p>I've cleaned the build folder, deleted DerivedData, and run 'pod deintegrate', 'pod clean', then 'pod install' multiple times. I also removed Pinterest from the Podfile so it was removed from the project.</p>
  
  <p>Specifics: Swift 3, Xcode 8.1</p>
  
  <p>Any help would be much appreciated!</p>