Xcode 9.3 hangs when compiling Objective-C

Originator:green
Number:rdar://39423259 Date Originated:April 13 2018
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 9.3
Classification:Bug Reproducible:Always
 
Summary:
Clang hangs trying to compile the English search stemmer data. Xcode 9.2 was fine but Xcode 9.3 hangs. This issue may or may not be the same as this bug https://github.com/godotengine/godot/issues/18023.

Steps to Reproduce:
- Open `Search.xcodeproj`
- Select the `Lucene5ClientTestRunner` target > `My Mac`
- Run the target

Expected Results:
Xcode builds the `Lucene5ClientTestRunner` command line tool and outputs the following snippet to the console:

```
JUnit version 4.11
.....................................................................
Time: 2.38

OK (69 tests)

Program ended with exit code: 0
```  

Actual Results:
The build never completes and Xcode consumes 100% the machine's cores.

Version/Build:
Xcode 9.3

Configuration:
- Macbook Pro 2017
- macOS 10.13.2

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!