MACHO_COMPATIBILITY_VERSIONΒΆ

What compatibility version number is this target for Mach-O binaries.

For shared libraries on Mach-O systems (e.g. macOS, iOS) the MACHO_COMPATIBILITY_VERSION property correspond to compatibility version and MACHO_CURRENT_VERSION to current version. See the FRAMEWORK target property for an example.

Versions of Mach-O binaries may be checked with the otool -L <binary> command. If MACHO_COMPATIBILITY_VERSION is not set, the value of the SOVERSION property will be used.