Generate dSYM file in install() on macOS#2598
Conversation
gaborcsardi
left a comment
There was a problem hiding this comment.
Thanks! I didn't look at the NEWS changes. (Maybe worth undoing the whitespace changes to reduce the noise?)
Btw. this does not work for packages that use src/install.libs.R, unless the package author explicitly copies the debug files. (Which has its own advantages, e.g. avoiding binary packages that are hundreds of megabytes.)
|
@gaborcsardi Is there any way we could build the package in the original location and bundle it from there? A bit like we do with |
Good to know thanks. I reverted the accidental whitespace changes. |
|
Compiling in the original location is the default for If you also want to run |
This dSYM file contains the file/line information that allows debuggers to figure out the source location.
As noted in the argument doc, generating this file is only one half of the battle. Because the package is built from a temporary location, the source info points to dangling paths. It is possible to remap these paths from lldb though.