Xcode crashes when trying to import a header in a project with User Header Search Path

Originator:derdiedasdom
Number:rdar://44465595 Date Originated:14-Sep-2018 09:32 PM
Status:Duplicate of 42425247 Resolved:
Product:Developer Tools Product Version:Xcode 10 GM (10A254a)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
In a project with a static lib and a User Header Search Path set to the location of the lib, Xcode crashes when trying to import the lib header in the main app.

Steps to Reproduce:
1. Open attached demo project
2. (Try to) Import DemoLib.h into ViewController.m

Expected Results:
No crash

Actual Results:
Xcode crashes

Version:
Xcode 10 GM (10A254a)

Notes:
If I remove the User Header Search Path, Xcode doesn't crash anymore.

Demo project:
https://github.com/dasdom/Xcode10BugDemo

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!