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
--add_ast_path <path_to_shortvideo swift module>
to that link line. – Chipboard--add_ast_path <path_to_shortvideo swift module>
to that link line. Is it aLinking
setting for shortvideo target in Xcode or something inshortvideo.podspec
– Mroz