XCode 10 beta, I am getting this error regarding multiple commands:
Multiple commands produce '/Users/myName/Library/Developer/Xcode/DerivedData/MyApp-dzvbktbmuxvgjefvikelaxydqckv/Build/Products/Debug-iphoneos/MyApp.swiftmodule/arm64.swiftdoc':
1) Target 'MyApp Free' : Ditto /Users/myName/Library/Developer/Xcode/DerivedData/MyApp-dzvbktbmuxvgjefvikelaxydqckv/Build/Products/Debug-iphoneos/MyApp.swiftmodule/arm64.swiftdoc
/Users/myName/Library/Developer/Xcode/DerivedData/MyApp-dzvbktbmuxvgjefvikelaxydqckv/Build/Intermediates.noindex/MyApp.build/Debug-iphoneos/MyApp Free.build/Objects-normal/arm64/MyApp.swiftdoc
2) Target 'MyAppWidget' : Ditto /Users/myName/Library/Developer/Xcode/DerivedData/MyApp-dzvbktbmuxvgjefvikelaxydqckv/Build/Products/Debug-iphoneos/MyApp.swiftmodule/arm64.swiftdoc
/Users/myName/Library/Developer/Xcode/DerivedData/MyApp-dzvbktbmuxvgjefvikelaxydqckv/Build/Intermediates.noindex/MyApp.build/Debug-iphoneos/MyAppWidget.build/Objects-normal/arm64/MyApp.swiftdoc
I also get the same thing for .swiftmodule document.
Notice the first argument of the lines are the same, but the 2nd argument is different.
My main app has a widget bundled in it. Both have Swift code obviously. Unbundling the widget from the main app fixes this, but of course is not what we can do. It seems like the builds are putting the file into the same place but it has to get moved to another place?