1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-28 16:07:14 +00:00

[3.2] Do not raise exception if iOS SDK is not installed.

This commit is contained in:
bruvzg
2020-10-26 14:15:44 +02:00
parent 4ece7c287f
commit b338ba1b27

View File

@@ -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):