From e0fcdb88355b252032e7cecd5a0fcbe252f67071 Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Mon, 1 Oct 2018 14:16:57 -0400 Subject: [PATCH] macOS: default to latest macOS if version string isnt found --- search_sdks.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/search_sdks.sh b/search_sdks.sh index 5d9bc32..e131be4 100755 --- a/search_sdks.sh +++ b/search_sdks.sh @@ -85,6 +85,7 @@ if [ ! -z "$selected_sdk" ]; then # Remove the "u" if 10.4u Universal SDK is used. min_str="${min_str%%u}" + min_str="${min_str:-10.14}" system_sdk="-isystem ${selected_sdk} -mmacosx-version-min=${min_str}" else