It's a iOS application using cocoapods. Xcode 14 and Xcode 13.4.1 behavior same. I am using a static lib.
With Xcode 14 new lldb cmd swift-healthcheck, print
"SwiftASTContextForExpressions::LoadOneModule() -- Missing Swift module or Clang module found for "shortvideo", "imported" via SwiftDWARFImporterDelegate. Hint: Register Swift modules with the linker using -add_ast_path."
How can I register Swift modules with the linker using -add_ast_path.
refer: WWDC 2022 Video Debug Swift debugging with LLDB
If you are debugging a Swift class inside a dependent child project or framework, that class must have an
@objcannotation, otherwise you will get this error if you try to inspect variables from a breakpoint inside that class.BAD:
GOOD: