<unknown>:0: error: duplicate input file

Hello,


Our project compiles fine in Xcode 9.4.1, but upon moving to Xcode 10, a framework we are compiling for use in our main app fails to compile with the following error pointing to a large number of files. Below is a small sample of what we are seeing.


<unknown>:0: error: duplicate input file 'WatchKit'
<unknown>:0: error: duplicate input file 'App'
<unknown>:0: error: duplicate input file 'WatchKit'
<unknown>:0: error: duplicate input file 'App'
<unknown>:0: error: duplicate input file 'Files'
<unknown>:0: error: duplicate input file 'Files'


I am at a loss for how to address this problem. If anyone else has run into this problem and found a fix, I would greatly appreciate it.

Did you perform a clean build folder first ?


Then, for each file in the project, I would check what targets are defined in the files attributes inspector.

>Did you perform a


Already asked - OP replied in the affirmative w/no change, tried to edit but cleared instead...should have left it alone, sorry.

&lt;unknown&gt;:0: error: duplicate input file
 
 
Q