New Build System fails to build project containing universal xib

Originator:d2.lebedev
Number:rdar://32675858 Date Originated:09-Jun-2017 05:14 pm
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 9 beta 1
Classification:Security Reproducible:Always
 
Summary:
-

Steps to Reproduce:
1. Enable Build System preview in Xcode9
2. Add 2 xibs to project TabViewController~ipad.xib and TabViewController~ipad.xib with any content
3. Build

Expected Results:
Build succeeds


Actual Results:
Build error:

:-1: unable to build node: '/Users/Library/Developer/Xcode/DerivedData/test-azglhpqsfkuruwftkbokzvxbujvo/Build/Products/Debug-iphonesimulator/test.app/TabViewController~ipad.nib' (node is produced by multiple commands; e.g., '216fb20d00a59a62c5d6e8a46fbe2f44a833d49cfe279d88174fe5336b9ae198:CompileXIB /Users//Desktop/test/test/TabViewController.xib' and '216fb20d00a59a62c5d6e8a46fbe2f44a833d49cfe279d88174fe5336b9ae198:CompileXIB /Users/denis.lebedev/Desktop/test/test/TabViewController~ipad.xib')

Version:
Xcode 9 beta 1

Notes:
Reproducible with any xib pairs / content. See the project attached.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!