Cannot create Swift scratch context (couldn't load the Swift stdlib)

Originator:futuretap
Number:rdar://FB8014178 Date Originated:Jul 15, 2020 at 4:58 PM
Status:Open Resolved:
Product:Developer Tools Product Version:12.0 beta 2 (12A6163b)
Classification: Reproducible:Always
 
When debugging a mixed Obj-C/Swift project, the debugger doesn't work for Swift code. At the first time, Xcode prints 

Cannot create Swift scratch context (couldn't load the Swift stdlib)

in the LLDB console. I've put "log enable lldb types -f /tmp/types.log" into ~/.lldbinit as suggested here:
https://developer.apple.com/forums/thread/651375

Attached, you'll find the types.log.

Comments

Jul 24, 2020 at 11:02 AM

Issue is still present in beta 3.


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!