title: DJIWidget compilation breaks on Xcode 10
body: <p>I just uploaded to Xcode 10 and the compilation of my app that is using the DJI Mobile SDK doesn't work anymore. The error message comes from the <code>DJIWidget</code> module. I remember seeing a message similar to this one on Xcode 9.3 but it was only a warning. The error message is this one:</p>
  
  <blockquote>
    <p>Showing Recent Messages
    :-1: Multiple commands produce '/Users/nachocarnicero/Library/Developer/Xcode/DerivedData/perceptionios-cuskgbsvtllwjkeyqpqurbegowwa/Build/Products/Debug-iphonesimulator/DJIWidget.framework/Headers/DJICalibratePixelBufferProvider.h':
    1) Target 'DJIWidget' (project 'DJIWidget') has copy command from '/Users/nachocarnicero/git/Sterblue/MobileNew/ios/DJIWidget/DJIWidget/VideoPreviewer/Helper/ImageCalibrate/DJICalibratePixelBufferProvider.h' to '/Users/nachocarnicero/Library/Developer/Xcode/DerivedData/perceptionios-cuskgbsvtllwjkeyqpqurbegowwa/Build/Products/Debug-iphonesimulator/DJIWidget.framework/Headers/DJICalibratePixelBufferProvider.h'
    2) Target 'DJIWidget' (project 'DJIWidget') has copy command from '/Users/nachocarnicero/git/Sterblue/MobileNew/ios/DJIWidget/DJIWidget/VideoPreviewer/Helper/ImageCalibrate/PixelBufferProvider/DJICalibratePixelBufferProvider.h' to '/Users/nachocarnicero/Library/Developer/Xcode/DerivedData/perceptionios-cuskgbsvtllwjkeyqpqurbegowwa/Build/Products/Debug-iphonesimulator/DJIWidget.framework/Headers/DJICalibratePixelBufferProvider.h'</p>
  </blockquote>
  
  <p>As you can see from the following screenshot this error is blocking the compilation:
  <a href="https://i.stack.imgur.com/xc9qW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xc9qW.png" alt="DJIWIdget error"></a></p>
  
  <p>Has anyone encountered this issue and has managed to fix it?</p>
  
  <p>Cheers,</p>
  
  <p>Nacho</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I have managed to successfully compile the project with the "Legacy Build System" (by activating it under File->Workspace Settings), so this confirms that this is a problem with the "New Build System" which is enabled by default in Xcode 10</p>