
Version info with otool
12 jan 2021 | mac | development | terminal
If you're running a terminal utility on a mac, you might want to know what the minimum OS version is that is required to run the utility. You can do this by using a tool called otool
.
otool -l go-james | grep minos minos 11.0
This indicates that my go-james
utility requires macOS 11.0 or newer.
You can also use it to figure out which SDK was used to build the app:
otool -l go-james | grep sdk sdk 11.1
As you can see, the 11.1 macOS SDK was used to build the app.