Oh, thanks for that context. The good news here is that we do have a way to achieve that goal, namely dyld_info. For example ...
Excellent. Thank you very much. This is exactly what I was after. The only reason I used otool was because of my lack of knowledge about dynamic libraries and tools in macOS.
If you find yourself in a situation where you need to look inside the dynamic linker shared cache for some reason, and that’s not covered by an existing tool, I encourage to file an enhancement request for better tooling. Make sure to describe your requirements rather than focus on one specific tool.
Will certainly do going forward.
Finally, is there a doc/schema which explains the structure/contents of .tbd files.
Not that I’m aware of. I agree there there should be and I’d appreciate you filing a bug requesting that. Please post your bug number, just for the record.
I will do that shortly and post the id here.
Slightly off-topic, but just wanted to share some feedback about the "Feedback assistance program" (the one for filing bugs) itself - I find that, that tool/process feels like "/dev/null" where you file an issue and see no updates to it at all. I don't just mean comments/responses, but even basic triaging updates like some human responding saying that it's being looked into. This observation is based on more than one issue that I have filed. The other thing with that tool is, you can't see other open issues - unlike other issue trackers where this is a common feature. So it just feels like an area where the person who has filed the issue is just talking to themselves. I'm really glad that at least the forums here are much more responsive with knowledgeable users.
For example, I see that each of these file contents end with ...
which at first looked odd to me
Indeed. That’s a standard part of YAML.
And yeah, I only know about that because I looked it up a few minutes ago (-:
Thank you for that detail. I didn't even know it was a YAML format file :)