From b338ba1b272fc42950d46f79ed989087c315dfef Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Mon, 26 Oct 2020 14:15:44 +0200 Subject: [PATCH] [3.2] Do not raise exception if iOS SDK is not installed. --- methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/methods.py b/methods.py index c6f1fd8b08..c1fafa7500 100644 --- a/methods.py +++ b/methods.py @@ -717,7 +717,7 @@ def get_darwin_sdk_version(platform): return float(decode_utf8(subprocess.check_output(["xcrun", "--sdk", sdk_name, "--show-sdk-version"]).strip())) except (subprocess.CalledProcessError, OSError): print("Failed to find SDK version while running xcrun --sdk {} --show-sdk-version.".format(sdk_name)) - raise + return 0.0 def detect_darwin_sdk_path(platform, env):