title: Xcode 10 - Multiple commands produce .app
body: <p>I have a project that I developed with Xcode 9, and after switching to Xcode 10 I get an error during build:</p>
  
  <blockquote>
    <p>error: Multiple commands produce 'SomePath/MyApp.app':<br>
    1) Target 'MyApp' has create directory command with output '/SomePath/Kvitt.app'<br>
    2) That command depends on command in Target 'MyApp': script phase “[CP] Copy Pods Resources”</p>
  </blockquote>
  
  <p>I had a similar issue with different project and <code>Info.plist</code> file, and I solved it using <a href="https://stackoverflow.com/a/50719379/1921348">this answer</a></p>
  
  <p>However, this time the error refers to <code>MyApp.app</code>, and there is no such file in <em>Copy Bundle Resources</em></p>
  
  <p>Switching to <em>Legacy Build System</em> makes this go away, but want to know what's causing this and how to fix it in new build system</p>
  
  <p>Any ideas?</p>