Hello,
I am currently researching for ways to get the versions of all of the Mach-O executables and dylibs installed on my MacOS machine.
Based on my initial research, I am able to get the information of installed applications from commands like "lsappinfo" and "system_profiler SPApplicationsDataType".
However, the above commands only give me information about applications installed in my machine, not all the Mach-O binaries and dylibs.
I also saw otool -L output is not very reliable as some dylibs don't show the current version.
Are there any alternate commands I can try to get this information? Can this be achievable through any frameworks on MacOS? Any pointers will help me a lot.