{"id":2541,"date":"2023-01-13T22:27:56","date_gmt":"2023-01-13T13:27:56","guid":{"rendered":"https:\/\/rageworx.info\/?p=2541"},"modified":"2023-01-13T22:27:58","modified_gmt":"2023-01-13T13:27:58","slug":"limit-apple-clang-minimal-os-version","status":"publish","type":"post","link":"https:\/\/rageworx.info\/?p=2541","title":{"rendered":"Limit Apple clang minimal OS version"},"content":{"rendered":"\n<p>If you are a developer, And don&#8217;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&#8217;s simply some way to apply some flags on your Makefile.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-rounded\"><img loading=\"lazy\" decoding=\"async\" width=\"1132\" height=\"112\" src=\"https:\/\/rageworx.info\/wp-content\/uploads\/2023\/01\/\uc2a4\ud06c\ub9b0\uc0f7-2023-01-13-\uc624\ud6c4-10.11.42.png\" alt=\"\" class=\"wp-image-2542\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2023\/01\/\uc2a4\ud06c\ub9b0\uc0f7-2023-01-13-\uc624\ud6c4-10.11.42.png 1132w, https:\/\/rageworx.info\/wp-content\/uploads\/2023\/01\/\uc2a4\ud06c\ub9b0\uc0f7-2023-01-13-\uc624\ud6c4-10.11.42-960x95.png 960w, https:\/\/rageworx.info\/wp-content\/uploads\/2023\/01\/\uc2a4\ud06c\ub9b0\uc0f7-2023-01-13-\uc624\ud6c4-10.11.42-768x76.png 768w, https:\/\/rageworx.info\/wp-content\/uploads\/2023\/01\/\uc2a4\ud06c\ub9b0\uc0f7-2023-01-13-\uc624\ud6c4-10.11.42-624x62.png 624w\" sizes=\"auto, (max-width: 1132px) 100vw, 1132px\" \/><\/figure>\n\n\n\n<p> Xcode may support multiple target in a package to publish application, but in level of Xcode console &#8211; mostly iTerm2 and homebrew users may not love to use heavy Xcode IDE to build desktop application or library.<\/p>\n\n\n\n<p> So simply include And decide <code>macosx-version-min=${MACOSX_VERSION}<\/code> with -m option. It may force set minimal version of compatibility of your library or application mach-O image to decided version.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are a developer, And don&#8217;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&#8217;s simply some way to apply some flags on your Makefile. Xcode may support multiple target&#8230; <a href=\"https:\/\/rageworx.info\/?p=2541\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":2542,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,734,3],"tags":[],"class_list":["post-2541","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","category-macos","category-raphs"],"_links":{"self":[{"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/posts\/2541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2541"}],"version-history":[{"count":0,"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/posts\/2541\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/media\/2542"}],"wp:attachment":[{"href":"https:\/\/rageworx.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2541"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}