You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
[3.2] Disable iOS SDK version check on osxcross.
Currently, osxcross `xcrun` supports only macOS SDKs.
This commit is contained in:
@@ -13,11 +13,13 @@ def get_name():
|
||||
|
||||
def can_build():
|
||||
|
||||
if sys.platform == "darwin" or ("OSXCROSS_IOS" in os.environ):
|
||||
if sys.platform == "darwin":
|
||||
if get_darwin_sdk_version("iphone") < 13.0:
|
||||
print("Detected iOS SDK version older than 13")
|
||||
return False
|
||||
return True
|
||||
elif "OSXCROSS_IOS" in os.environ:
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user