swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
67.48k stars 10.35k forks source link

[SR-14906] "LLDB provided no error string" when running on 7/17/21 toolchain snapshot #57253

Open porterchild opened 3 years ago

porterchild commented 3 years ago
Previous ID SR-14906
Radar rdar://problem/80469952
Original Reporter @porterchild
Type Bug
Additional Detail from JIRA | | | |------------------|-----------------| |Votes | 0 | |Component/s | Project Infrastructure | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: 829bfe78c76fe6a1ace3cf9ae40449a1

Issue Description:

Same issue as https://github.com/tensorflow/swift/issues/569.

The problem is that 'Xcode-beta.app' is being inserted into the toolchain where it ought to be "Xcode.app", should be a simple fix

running

sudo install_name_tool -add_rpath /Applications/Xcode.app/Contents/Developer/Library/Frameworks/ /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2021-07-07-a.xctoolchain/System/Library/PrivateFrameworks/LLDB.framework/Versions/A/LLDB

is a quick local fix

typesanitizer commented 3 years ago

@swift-ci create