Limit Apple clang minimal OS version

      Comments Off on Limit Apple clang minimal OS version

If you are a developer, And don’t use Xcode IDE for making any code or application to build but want library or mach-O binary to have compatibility with lower OS version or clang ? There’s simply some way to apply some flags on your Makefile.

Xcode may support multiple target in a package to publish application, but in level of Xcode console – mostly iTerm2 and homebrew users may not love to use heavy Xcode IDE to build desktop application or library.

So simply include And decide macosx-version-min=${MACOSX_VERSION} with -m option. It may force set minimal version of compatibility of your library or application mach-O image to decided version.