fn macho_object_build_version_for_target(target: &Target) -> MachOBuildVersion
Expand description

Since Xcode 15 Apple’s LD requires object files to contain information about what they were built for (LC_BUILD_VERSION): the platform (macOS/watchOS etc), minimum OS version, and SDK version. This returns a MachOBuildVersion for the target.