You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Launch Xcode and select the the toolchain "Swift Development Snapshot 2020-01-31 (a)" by going to Xcode->Toolchains.
File->New->Swift Package. Name it anything you want. We just need a package project.
Go to the unit tests tab and set a breakpoint on "func testExample()" in the unit tests.
Run the testExample unit test and hit the breakpoint.
Notice that the lldb prompt has the error:
"Library/Developer/Xcode/DerivedData/bla-dcldcbjsrpublmexgadvggxiyxcf/Build/Products/Debug/blaTests.xctest/Contents/MacOS/blaTests: Cannot load Swift type information; AST validation error in "blaTests": The module file format is too new to be used by this version of the debugger.AST validation error in "bla": The module file format is too new to be used by this version of the debugger.AST validation error in "bla": The module file format is too new to be used by this version of the debugger."
Running "version" at the lldb prompt in Xcode prints out:
(lldb) version
lldb-1100.0.30.12
Apple Swift version 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15)
However, running "version" at the lldb prompt from /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2020-01-31-a.xctoolchain/usr/bin/lldb prints out:
(lldb) version
lldb version 7.0.0 (git@github.com:apple/llvm-project.git revision 59a141eebb068ccd83f25da447669259a3731e12)
Apple Swift version 5.2-dev (Swift a0fbeb9179)
Seems like the toolchain lldb is not being used when debugging the package in Xcode.
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: e18ab3209e8a97f87421378da8c5552a
Issue Description:
Development Environment:
Xcode 11.3.1
Toolchain from https://swift.org/builds/development/xcode/swift-DEVELOPMENT-SNAPSHOT-2020-01-31-a/swift-DEVELOPMENT-SNAPSHOT-2020-01-31-a-osx.pkg
Reproduce steps:
Notice that the lldb prompt has the error:
"Library/Developer/Xcode/DerivedData/bla-dcldcbjsrpublmexgadvggxiyxcf/Build/Products/Debug/blaTests.xctest/Contents/MacOS/blaTests: Cannot load Swift type information; AST validation error in "blaTests": The module file format is too new to be used by this version of the debugger.AST validation error in "bla": The module file format is too new to be used by this version of the debugger.AST validation error in "bla": The module file format is too new to be used by this version of the debugger."
Running "version" at the lldb prompt in Xcode prints out:
(lldb) version
lldb-1100.0.30.12
Apple Swift version 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15)
However, running "version" at the lldb prompt from /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2020-01-31-a.xctoolchain/usr/bin/lldb prints out:
(lldb) version
lldb version 7.0.0 (git@github.com:apple/llvm-project.git revision 59a141eebb068ccd83f25da447669259a3731e12)
Apple Swift version 5.2-dev (Swift a0fbeb9179)
Seems like the toolchain lldb is not being used when debugging the package in Xcode.
The text was updated successfully, but these errors were encountered: